I have a C++ aplication that is using the IWebBrowser2 interface for rendering some online html pages.
The problem is that when accesing a certain link I receive a javascript error, although if I am accesing that same page using Internet Explorer, the page loads with no error.
The recived error in my application is “Object doesn’t support this action”
I was able to hide the error by using the put_Silent() method and setting it to VARIANT_TRUE, but this is not a solution as the content displayed is not correct.
I know that IWebBrowser2 is using the Internet Explorer engine to load the pages, so I guess that there is a way to fix this problem as the page loads ok in IE.
You may have to implement IDocHostShowUI::ShowMessage.
I think you would want to return S_FALSE.