hi all,
Has anyone come across working code for a Windows Forms application that uses AxWebBrowser control and is capable of intercepting and dealing with the 'Internet Explorer Script Error' (An error has occured in the script on this page') type errors. I know the WebBrowser control (the one that comes by default in Visual Studio Toolbox) has 'ScriptErrorsSuppressed' property that seems to achieve just that, but I don't have much time left for re-implementation.
After doing some searching on the web, some of the possible solutions that I've seen included:
1) setting aXWebBrowser.Silent = true at an appropriate time. The downside of this approach is that some of the pop-ups are useful, such as authentication prompts etc.
2) implementing IOleDocumentSite, IOleClientSite and IDocHostShowUI interfaces and using IDocHostShowUI:

howMessage for the purpose of intercepting the message box. I have attempted this but am yet to see the ShowMessage function invoked...
3) implementing IOleCommandTarget and the QueryStatus and Exec methods, and then watching out for the Exec invocation with OLECMDID_SHOWSCRIPTERROR. From what I understand this behaviour doesn't work if Disable Script Debugging check box is cleared in Internet Explorer settings.
apologies that this post is not actually directly related to HtmlEditor :|
regards,
Greg