>I'm using the WebBrowser control on a VFP form. I allow the user to print by clicking a button on the form and I call the ExecWB method, using the parameters so that the user is prompted for the printer before printing. Is there a Windows event that I can bind to that will tell me what the user did (print or cancel). And what might be the best reference source for the many Windows events that exist?
>
>Russell Campbell
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.
If it's not broken, fix it until it is.
My Blog