Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I turn off the script error messages on a WebBrowser contro

1 view
Skip to first unread message

Ken T.

unread,
Oct 9, 2004, 5:59:02 PM10/9/04
to
My IE has its "report scripting errors" option turned off. When I use the
WebBrowser control on VB 6.0, and the page I'm going to has errors on their
scripts, I get that large "Internet Explorer Script Error" box that asks "Do
you want to continue running scripts on this page?" and you can answer
"Yes/No". How do I disable this feature on my WebBrowser control? This
stops the code execution (modal) waiting for input and I don't know how to
get rid of it. I need this turned off!

Thanks.

Gaurav - http://www.gauravcreations.com

unread,
Oct 10, 2004, 6:53:02 AM10/10/04
to
have u tried setting the silent property to true...
webbrowser.silent = true

--
Gaurav Creations

Ken T.

unread,
Oct 10, 2004, 7:13:02 AM10/10/04
to

Thanks a lot! That worked beautifully. I was trying to set
WB.Application.Document.scripts.Item(0).disabled = True but that was not
working at all. I guess I missed the "silent" property early in the object
property tree.

thanks again.

|<en

Dan

unread,
Jun 11, 2009, 5:05:01 AM6/11/09
to
Hello thanks for the input, I'm running Chrome using a neptune plugin
(http://www.meadroid.com/neptune/) to simulate IE. How do i set the
webbrowser.silent = true in IE? or is this code used in the VB 6.0
application?

0 new messages