H Herfried K. Wagner [MVP] May 17, 2005 #2 news.ntlworld.com said: How do I print HTML documents using vb.NET Click to expand... Printing files of various types without user interaction <URL:http://dotnet.mvps.org/dotnet/faqs/?id=printinganyfile&lang=en> WebOCHostVB.exe Hosts the WebBrowser Control in Visual Basic .NET <URL:http://support.microsoft.com/?scid=kb;EN-US;311303> \\\ Const OLECMDID_PRINT As Int32 = 6 Const OLECMDEXECOPT_DODEFAULT As Int32 = 0 Const OLECMDEXECOPT_DONTPROMPTUSER As Int32 = 2 Me.WebBrowser1.ExecWB( _ OLECMDID_PRINT, _ OLECMDEXECOPT_DODEFAULT _ ) ///
news.ntlworld.com said: How do I print HTML documents using vb.NET Click to expand... Printing files of various types without user interaction <URL:http://dotnet.mvps.org/dotnet/faqs/?id=printinganyfile&lang=en> WebOCHostVB.exe Hosts the WebBrowser Control in Visual Basic .NET <URL:http://support.microsoft.com/?scid=kb;EN-US;311303> \\\ Const OLECMDID_PRINT As Int32 = 6 Const OLECMDEXECOPT_DODEFAULT As Int32 = 0 Const OLECMDEXECOPT_DONTPROMPTUSER As Int32 = 2 Me.WebBrowser1.ExecWB( _ OLECMDID_PRINT, _ OLECMDEXECOPT_DODEFAULT _ ) ///
S stand__sure May 18, 2005 #3 there is a new method in 2.0 for this WebBrowser.Print see http://msdn2.microsoft.com/library/cys7e8cs(en-us,vs.80).aspx
there is a new method in 2.0 for this WebBrowser.Print see http://msdn2.microsoft.com/library/cys7e8cs(en-us,vs.80).aspx