kristofer
asked on
ignoring script error in webbrowser object
Hi
Recently my ISP has started disconnecting ever other hour, so I decided to make a prog to make sure I stay online using webbrowser object. Login is web-based. Normally it works great, but since I check status every minute, my isp somehow manages to accomplish a script error, resulting in no more automatic browsing in that webbrowser object every minute. How do I prevent these script error boxes from appearing??
thx a lot
/Kristofer
Recently my ISP has started disconnecting ever other hour, so I decided to make a prog to make sure I stay online using webbrowser object. Login is web-based. Normally it works great, but since I check status every minute, my isp somehow manages to accomplish a script error, resulting in no more automatic browsing in that webbrowser object every minute. How do I prevent these script error boxes from appearing??
thx a lot
/Kristofer
You will have to change the setting in IE. This is becuase WebBrowser is directly related to IE. Go to Tools>Internet Options>Advanced abd check "Disable script debugging".
Also uncheck "Display a notification about every script error"
Set the WebBrowser1.Silent property to True.
Regards
Saurabh
Regards
Saurabh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hearing...