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

Capturing JavaScript errors from the webbrowser_ctl

24 views
Skip to first unread message

sam

unread,
Sep 10, 2011, 9:16:54 PM9/10/11
to
I have developed a web based kiosk system. The majority of the kiosk
application is Silverlight. Since the system needs to be full screen,
rather than using IE, there is a ATL application that hosts the
webbrowser_ctl. From time to time there is some type of JavaScript
error. The ATL application is not hooking into the webbrowser_ctl
correctly, so some other dialog appears with the error message. The
error message is too long for the dialog so my customers are not able
to get me the message, so...

I need to figure out how to capture 100% of all JavaScript errors that
come from the webbrowser_ctl. How do I do that? My goal is to log
them to a file which my customers can send me.

Sam

Bjoern Hoehrmann

unread,
Sep 10, 2011, 10:05:08 PM9/10/11
to
* sam wrote in microsoft.public.inetsdk.programming.webbrowser_ctl:

>I have developed a web based kiosk system. The majority of the kiosk
>application is Silverlight. Since the system needs to be full screen,
>rather than using IE, there is a ATL application that hosts the
>webbrowser_ctl. From time to time there is some type of JavaScript
>error.

Well, knowing what kind of error exactly would be neccessary to tell you
how to capture them. Perhaps you could quote an example error message?
Are you sure these are JavaScript error messages and not, for instance,
SSL errors about mismatching or outdated certificates? Are they errors
generated by the browser (like for syntax errors) or by web pages (like
for deliberately thrown but uncaught exceptions)?
--
Bj�rn H�hrmann � mailto:bjo...@hoehrmann.dehttp://bjoern.hoehrmann.de
Am Badedeich 7 � Telefon: +49(0)160/4415681http://www.bjoernsworld.de
25899 Dageb�ll � PGP Pub. KeyID: 0xA4357E78 � http://www.websitedev.de/

0 new messages