all groups > dotnet interop > august 2003 >
You're in the

dotnet interop

group:

Trap Script Errors in Embedded Browser


Trap Script Errors in Embedded Browser Greg Bielleman
8/31/2003 1:08:49 PM
dotnet interop:
I have an built an winforms app in C# which has IE embedded in it.
I have implemented IDocHostUIHandler which does moct of what I want.

The only outstanding issue I have is how do I trap script errors in the web
pages.

Anyone go a sample in C# or VB.net of how I can do this?

Cheers
Greg Bielleman

Re: Trap Script Errors in Embedded Browser Vadim Melnik
9/1/2003 5:05:42 PM
Hi Greg,

[quoted text, click to view]

Probably the following link will help:

"HOWTO: Handle Script Errors as a WebBrowser Control Host"

http://support.microsoft.com/?id=261003

...
Cheers,
Vadim.

Re: Trap Script Errors in Embedded Browser Vadim Melnik
9/2/2003 6:16:49 PM
[quoted text, click to view]

I am afraid you need to implement WebBrowser control container from scratch.
At least I don't know
how to override site object provided by AxHost container control.

...
Regards,
Vadim.


Re: Trap Script Errors in Embedded Browser Greg Bielleman
9/2/2003 6:55:29 PM
[quoted text, click to view]
Thanks but how would I implement this in C# or VB.net?

Cheers
Greg

AddThis Social Bookmark Button