I'm using a web control on a form. When I go to certain web sites (through code), I get a popup error message titled "Internet Explorer Script Error".
Most of the time the error shown is 'Unterminated string constant', but occasionally I get 'T' is undefined.
I assume these are errors in the web pages that I'm going to, but what I need to know is how to keep this message from popping up or how to get rid of
it through code if it does pop up.
md - 04 Mar 2008 18:09 GMT
Try a group for IE. This is a .Net programming group.
> I'm using a web control on a form. When I go to certain web sites (through
> code), I get a popup error message titled "Internet Explorer Script
[quoted text clipped - 6 lines]
> of
> it through code if it does pop up.
Kevin - 04 Mar 2008 21:31 GMT
Maybe you should reread my question. I am programming in .NET. IE groups don't do VB programming.
>Try a group for IE. This is a .Net programming group.
>
[quoted text clipped - 8 lines]
>> of
>> it through code if it does pop up.
kimiraikkonen - 04 Mar 2008 19:12 GMT
> I'm using a web control on a form. When I go to certain web sites (through code), I get a popup error message titled "Internet Explorer Script Error".
> Most of the time the error shown is 'Unterminated string constant', but occasionally I get 'T' is undefined.
>
> I assume these are errors in the web pages that I'm going to, but what I need to know is how to keep this message from popping up or how to get rid of
> it through code if it does pop up.
Maybe you need to set webbrowser control's "ScriptErrorsSuppressed"
boolean value to true or false (whatever you wish) in your purpose.
Kevin - 05 Mar 2008 13:10 GMT
Exactly what I was looking for. Thanks!
>> I'm using a web control on a form. When I go to certain web sites (through code), I get a popup error message titled "Internet Explorer Script Error".
>> Most of the time the error shown is 'Unterminated string constant', but occasionally I get 'T' is undefined.
[quoted text clipped - 4 lines]
>Maybe you need to set webbrowser control's "ScriptErrorsSuppressed"
>boolean value to true or false (whatever you wish) in your purpose.
kimiraikkonen - 05 Mar 2008 15:53 GMT
> Exactly what I was looking for. Thanks!
>
[quoted text clipped - 8 lines]
>
> - Show quoted text -
You're welcome :-)