>Hello everybody!
>When I Navigate to File or URL and have it seen at WB ActiveX I can right click and print this. Is there any way to print it using method or something else.
There are a couple of ways to print HTML using IE. The easiest is to use the ExecWB method, which allows access to most of the menu options under program control. You can look up the OLECMDID codes on MSDN - to print the value is 6:
THISFORM.oBrowser.ExecWB(6,2,0,0)
If you simply want to print an HTML document you can also call the MSHTML engine directly by using the following code:
lcFile = 'c:\temp\__preview.htm'
run /n rundll32 mshtml.dll,PrintHTML &lcFile
Note that this routine will prompt for a printer setup dialog.