Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / September 2003

Tip: Looking for answers? Try searching our database.

Trap Script Errors in Embedded Browser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg Bielleman - 31 Aug 2003 04:08 GMT
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
Vadim Melnik - 01 Sep 2003 15:05 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.