Web Browser & Navigating to pages with errors

G

gene kelley

I'm using the VB2005 WebBrowser control.
On occasion, a page that is navigated to contains script errors.
These errors keep displaying a message box asking if I want to debug.
If I manage to complete the document load, these errors keep
reoccurring as the mouse passes over a menu on the site, for example.
In IE, the option, "Disable Script Debugging", seems to be the cure
for the issue in IE.

Is there something in VB2005 equivalent to "Disable Script Debugging"
with regards to the WebBrowser control?

SuppressScriptDebugging property is not the answer.

Thanks,

Gene
 
C

Cor Ligthert [MVP]

Gene,

The WebBrowser control is just running SHDOCVW in other words Internet
Explorer. The settings from Internet Explorer are therefore as well used for
the WebBrowser when it is running.

I hope this helps,

Cor
 
G

gene kelley

It apparently is so, but very odd. A problem URL in the application
runs OK in IE. However, in IE I noticed that there are two options
regarding disabling script debugging -- one for "IE" and one for
"other". The option for disabling "other" was unchecked. Now, with
that option also checked, the problem URL in the app is now OK.

It is probably worth adding a note in this application's help file
regarding this possible problem.

Thanks,

Gene
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top