PRB: WebBrowser Problems When Refreshing in TitleChange HandlerLast reviewed: January 19, 1998Article ID: Q179229 |
The information in this article applies to:
SYMPTOMSWhen an application using the WebBrowser control makes a call to the Refresh method of the WebBrowser control in an event handler for the TitleChange event, various problems occur. Internet Explorer 3.02 crashes with an access violation. In Internet Explorer 4.0 and 4.01, an infinite loop occurs and the browser hangs.
CAUSEIn Internet Explorer 4.x this behavior is by design. Calling Refresh from within a TitleChange event handler causes the WebBrowser control to fire a TitleChange event. This infinite loop occurs if you call Refresh in handlers for many of the WebBrowser events.
RESOLUTIONDo not call Refresh within a handler for a WebBrowser event.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
Technology : kbInetDev internet Version : WINDOWS:1.0,3.02,4.0,4.01 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |