Home All Groups Group Topic Archive Search About

Web Browser & Navigating to pages with errors

Author
17 May 2006 11:20 AM
gene kelley
I'm using the VB2005 WebBrowser control. 
On occasion, a page that is navigated to contains script errors.
These errors keep displaying a message box asking if I want to debug.
If I manage to complete the document load, these errors keep
reoccurring  as the mouse passes over a menu on the site, for example.
In IE, the option, "Disable Script Debugging", seems to be the cure
for the issue in IE. 

Is there something in VB2005 equivalent to "Disable Script Debugging"
with regards to the WebBrowser control?  

SuppressScriptDebugging property is not the answer.

Thanks,

Gene

Author
17 May 2006 1:45 PM
Cor Ligthert [MVP]
Gene,

The WebBrowser control is just running SHDOCVW in other words Internet
Explorer. The settings from Internet Explorer are therefore as well used for
the WebBrowser when it is running.

I hope this helps,

Cor

Show quoteHide quote
"gene kelley" <o***@by.me> schreef in bericht
news:6l0m621gr8p4t19fhrm605094d07a1t21f@4ax.com...
> I'm using the VB2005 WebBrowser control.
> On occasion, a page that is navigated to contains script errors.
> These errors keep displaying a message box asking if I want to debug.
> If I manage to complete the document load, these errors keep
> reoccurring  as the mouse passes over a menu on the site, for example.
> In IE, the option, "Disable Script Debugging", seems to be the cure
> for the issue in IE.
>
> Is there something in VB2005 equivalent to "Disable Script Debugging"
> with regards to the WebBrowser control?
>
> SuppressScriptDebugging property is not the answer.
>
> Thanks,
>
> Gene
Author
17 May 2006 7:17 PM
gene kelley
It apparently is so, but very odd.  A problem URL in the application
runs OK in IE.  However, in IE I noticed that there are two options
regarding disabling script debugging -- one for "IE" and one for
"other".  The option for disabling "other" was unchecked.  Now, with
that option also checked, the problem URL in the app is now OK. 

It is probably worth adding a note in this application's help file
regarding this possible problem.

Thanks,

Gene


On Wed, 17 May 2006 15:45:28 +0200, "Cor Ligthert [MVP]"
<notmyfirstn***@planet.nl> wrote:

Show quoteHide quote
>Gene,
>
>The WebBrowser control is just running SHDOCVW in other words Internet
>Explorer. The settings from Internet Explorer are therefore as well used for
>the WebBrowser when it is running.
>
>I hope this helps,
>
>Cor
>
>"gene kelley" <o***@by.me> schreef in bericht
>news:6l0m621gr8p4t19fhrm605094d07a1t21f@4ax.com...
>> I'm using the VB2005 WebBrowser control.
>> On occasion, a page that is navigated to contains script errors.
>> These errors keep displaying a message box asking if I want to debug.
>> If I manage to complete the document load, these errors keep
>> reoccurring  as the mouse passes over a menu on the site, for example.
>> In IE, the option, "Disable Script Debugging", seems to be the cure
>> for the issue in IE.
>>
>> Is there something in VB2005 equivalent to "Disable Script Debugging"
>> with regards to the WebBrowser control?
>>
>> SuppressScriptDebugging property is not the answer.
>>
>> Thanks,
>>
>> Gene
>