Geeks With Blogs

Soppa Group India
iSmart Panache Inc
R Systems Internationals Ltd
Technovate eSolutions Pvt Ltd
The contents of this blog are my personal opinion and do not represent in any way the view of my employer.
These postings are provided "AS IS" with no warranties, and confer no rights.

Google PR™ - Post your Page Rank with

Narendra Tiwari July 2007 Entries
ASP.NET RSSToolkit 2.0 Released:

ASP.Net RSS Toolkit released 

Related Resource:-Generating RSS using -

Posted On Friday, July 6, 2007 2:17 PM

Print Window On Load
Sometimes we require to show the print dialog on as soon as we load the Web Page, the following piece of script can achieve the same, simply paste the script block on the page and you will see the Windows print dialog when you load the webPage. <script type="text/javascript"> function PrintWindow() { window.print(); CheckWindowState(); } function CheckWindowState() { if(document.readyState=="co... { window.close(); } else { setTimeout("CheckWindowStat... 2000) } } PrintWindow(); </script> ......

Posted On Friday, July 6, 2007 10:36 AM

Convert to Mhtml
using System; using System.Web; using CDO; using System.Text; using System.Runtime.InteropServi... using System.Web.Mail; using ADODB; namespace Venetian.Portal.BO.ContentM... { public class SaveFile { //private ctor as our methods are all static here private SaveFile() { } public static byte[] SaveWebPageToMHTFile(string url) { //bool result = false; CDO.Message msg = new CDO.MessageClass(); byte[] byteArray; ADODB.Stream stm = null; try { msg.MimeFormatted = true; msg.CreateMHTMLBody(url, ......

Posted On Sunday, July 1, 2007 1:54 AM

Copyright © Narendra Tiwari | Powered by: