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
Hi Greg,
> 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.
Probably the following link will help:
"HOWTO: Handle Script Errors as a WebBrowser Control Host"
http://support.microsoft.com/?id=261003
..
Cheers,
Vadim.
Greg Bielleman - 02 Sep 2003 09:55 GMT
> Hi Greg,
>
[quoted text clipped - 14 lines]
> Cheers,
> Vadim.
Thanks but how would I implement this in C# or VB.net?
Cheers
Greg
Vadim Melnik - 02 Sep 2003 16:16 GMT
> Thanks but how would I implement this in C# or VB.net?
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.