The information in this article applies to:
SYMPTOMSWebBrowser events such as DocumentComplete, DownloadComplete, BeforeNavigate2, and others do not fire when you host the WebBrowser control in an HTML page under Internet Explorer 4.0x. CAUSEThe WebBrowser ActiveX control is not designed to be used in an HTML OBJECT tag. RESOLUTIONMicrosoft does not support use of the WebBrowser control in an HTML OBJECT tag. Microsoft recommends using IFRAME or FRAMEs instead of embedding the WebBrowser control in HTML. STATUSThis behavior is by design. MORE INFORMATION
You cannot write Script event handlers for WebBrowser control events, such
as DocumentComplete, BeforeNavigate2, and other events, when you host the
WebBrowser control in an HTML page using the OBJECT tag. These events are
not fired. These events are not fired even if the WebBrowser control is
wrapped in another ActiveX control and then embedded in HTML.
Steps to Reproduce Behavior
REFERENCESFor more information, please see the MSDN Web Workshop: http://msdn.microsoft.com/workshop/default.asp Additional query words:
Keywords : kbcode kbIE400 kbIE401 kbIE500 AXSDKWebBrowser |
Last Reviewed: April 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |