I have a WebBrowser inserted in a form. When the appropriate page is displayed, that form fetch several information and do some processing. It then, move to the next page and do another process. The cycle goes for about 500 to 800 times until the job is done.
I have been using this program for more than a year – until a few days ago, when those who handle the web pages did some changes.
Unfortunately, there is an error in the scripting that interrupts my program from proceeding to the next page. I tried to capture the error and just ignore them. It seems I can’t do it in VB. Or maybe I just don’t know how to catch it. Please see attached screenshots of the error message.
What I am thinking is to turn off this “error check” in the browser settings but I don’t know how to do it – I am not familiar with browser settings or scripting.
Any suggestions please?
Thanks in advanced
Marketing our skills - please participate in the survey and share your insights -
I'm not sure if this is a good solution but you can remove the warning message with 2 steps.
1. turn off the script debugging by checking the "Disable script debugging (IE) and Disable script debugging (Others)". These settings are in the "Advanced" tab of the IE properties.
2. Add "<WebBrowser>.Silent = true" to your code before loading the page.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.