How to suppress run-time script errors as a WebBrowser control host in a Visual Basic application (279535)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5
- Microsoft Internet Explorer (Programming) 5.01
- Microsoft Internet Explorer (Programming) 5.01 SP1
- Microsoft Internet Explorer (Programming) 5.5
This article was previously published under Q279535 SUMMARY To suppress the default Internet Explorer error message for
the window onerror event, you can set the returnValue property of the event object to True. REFERENCES
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
261003
How to handle script errors as a
WebBrowser control host
183616 How to trap JScript errors on a Web page
For more information on how to handle and avoid Web
page errors, see the following article on the Microsoft Developer Network
(MSDN): For more information regarding the onerror event, see the following MSDN Web site: For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbhowto kbWebBrowser KB279535 |
---|
|