Webbrowser causes script-errors on a healty page

K

kimiraikkonen

Hi,
Just to test, i placed a simple webbrowser to login a site, this site
has no problems and has same error with IE6 SP2 but it's suppressed as
well and no problem with Firefox browser, but using webbrowser it
shows scripting errors:

There are a lot more sites that encounters scripting problems though
they work just fine in Firefox, a sample:
http://www.anaivanovic.com/forum/login.php

On the site above, after you enter your username and password, then
press "login" button, you got a pop-up with script-errors but no error
in IE6 nor in Firefox.

Is there a bug in Webbrowser control with .NET 2.0? (I'm using VB
2005)

or is my unique solution is to set "ScriptErrorsSuppressed" to True
which hides actuall error like in IE6?

Thanks,

Onur Güzel
 
K

kimiraikkonen

The webbrowser uses basically the same DLLs than IE so it's quite consitent
if you have the same error with IE6 SP2 and the webbrowser control.

I would check what exactltis this error to see what caused it for my
personal records but anyway as you can"t update this js script there is
likely not much you can do other than hiding it.

(or do you mean you have a problem with the webbrowser control but not with
IE6 SP2 ?)

---
Patrice

"kimiraikkonen" <[email protected]> a écrit dans le message de
groupe de discussion :
(e-mail address removed)...








- Show quoted text -

Thanks Patrice and after investigating more, i found out IE6 SP2
causes the same JS error but hides as well. However i agree that we
have nothing to do much beyond hiding the error with the property
described above. Plus, that's the fact that Webbrowser control wrapped
based-on Internet Explorer so that's an expected behaviour, another
fact that, i have no such problem in Firefox, so i wish there would be
a stable Firefox ActiveX control (I tried a crappy one by finding on
the net which didn't work).

However, it seems that hiding is the unique solution in that case
because developer cannot fix the IE library by itself rather than
updating the latest IE version like IE7.

Thanks,

Onur Güzel
 
A

Andrew Morton

In IE, Tools->Internet Options->Advanced tab and see the options under the
"Browsing" section for, e.g., "Display a notification about every script
error". It might help you narrow down what's going wrong.

Also, the Firebug add-on for FF might help with its Javascript console.

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top