>My code is: > >oBrowser.ExecWB(6, iif(tlPromptForPrinter, 1, 2)) > >I'm passing tlPromptForPrinter as a logical value to the method that calls the code above. Hope this helps. > >Russell > >>Russell, >> >>How did you figure what to pass to ExecWB method? I looked at http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/reference/ifaces/iwebbrowser2/execwb.asp but where can I find the referenced constants file? I want to simply Print the content of the browser without Printer dialog. >> >>Thanks a lot in advance.