Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Web Browser in VB6

Status
Not open for further replies.

wvufreelancer

Programmer
Jun 8, 2004
11
US
Hello this is an additional question in reference to:

I got the control working just fine but now on some of the pages that the control navigates too I receive an error. This error is on the page itself, BUT the error causes the whole thing to crash. I want to write something into the VB code so that ALL errors are ignored even those IE errors. The pages that are being displayed contain ActiveX controls and I want each control to download, regardless of if there is an error on the page as a result of something. A lot of the errors have to do with security and page looking for more info to fill into the control. But again I just want each page to display and download the control and go to the next.
 
Try using the webbrowser.silent = true tag. This will then stop errors from appearing from IE.

Good luck

BB
 
I applied this setting and I am still getting errors on the IE pages. Any other ideas? Possibly API calls??
 
What error messages are you getting from IE? Are they pop up errors or are the 404 page not found errors?

Can you give an example?

BB
 
They are pop up errors. The application that I am using this control with is an ActiveX control used for database processing/viewing/etc... The errors include security problems and client side errors in general. I just want ALL pop up errors and any other errors that might occur to be surpressed.
 

Its part of the settings that you can control through the internet options dialog of IE on the advanced tab under the tools menu (Disable script debugging should be checked and Display notification about every script error should be unchecked).

Good Luck

 
Are there any other options to stop making these errors come up other than going into IE settings? This control is part of a very large application so can not be changing settings like that.
 
The silent function should have suppressed all the scripting pop-up error messages. Can you give us an example of the page, so I can try and solve your problems?

BB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top