
February 1st, 2001, 03:14 PM
|
|
Junior Member
|
|
Join Date: Feb 2001
Location: Orlando FL
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I'm devloping a proprietary client that uses a WebBrowser control on VB Forms so that I can restrict the users navigation to specific sites. Each instance of the browser (created when a link on my ASP or HTML page is clicked) spawns a new form. This works well except when the linked page being displayed is from an external web site and uses java script to open it's own window e.g. -> window.open or the page throws a java script error. I want to provide users access to useful sites but I can't have java script errors from other sites causing the app to crash.
Do you know of a client side java applet that will monitor and intercept an error and supress/disable the dialog warning? Is there an error flag or event I can trap on in the VB WebBrowser control? I don't see a clean way to handle the error in the WebBrowser control. Any help would be appreciated.
|