Hi,
I'm using the WebBrowser control but I cant work out how to suppress script errors, "An error has occured in the script on this page" etc.
I think I need to catch %OLECMDID_SHOWSCRIPTERROR somehow and return %TRUE to say I've handled it but I'm not exactly sure how to achieve this.
Any ideas?
PE
Try setting the Silent property of the IWebBrowser2 interface to true. You also have to turn off the Scripting Debugger in Internet Explorer. To turn off the Scripting Debugger in Internet Explorer, on the Tools menu, click Internet Options. On the Advanced tab, select the Disable script debugging check box, and then click OK.
Thank you very much, that worked perfectly!