views:

774

answers:

2

Hi,

I want to disable script errors from popping up in a VB6 application. (I have VB6 installed on this machine).

  1. Currently, if I navigate to a particular page, it pops up saying "INternet Explorer Script Error: An error has ocurred in the script on this page" ... "Do you want to continue running scripts on this page?"

  2. Setting the webbrowser1.silent to 'true' does not work. Instead all that happens, is instead of displaying an error message, it starts up the actual 'script' debugger, and then exits the program. On a machine without the (visual studio) debugger, it still pops up a message asking to use the debugger, i.e., on Vista, (when silent is set to true).

  3. Manually changing the 'disable script debugging (other)' (and regular one), doesn't seem to working in MSIE (also testing version 6.0 for xp users).

How do I disable script errors?

Thanks in advance!

A: 

The webbrowser.silent can be reset to true when the application is run if you've set it in the design window. You may have to reset it to true when starting the application (ie: at runtime) and see if that works.

Daemonic
Ok... Thanks for your response, but when I compile it (run a compiled app) -- if I get an error, basically it just launches the JIT compiler (on Vista), and on XP launches the debugger there (I think I mentioned that in the original question). Do you know/have any other ideas?
A: 

Ok... Thanks for your response, but when I compile it (run a compiled app) -- if I get an error, basically it just launches the JIT compiler (on Vista), and on XP launches the debugger there (I think I mentioned that in the original question). Do you know/have any other ideas?