Article ID: 940972
Article Last Modified on 8/10/2007
APPLIES TO
- Microsoft Internet Explorer (Programming)
SYMPTOMS
You visit a Web application that contains a custom ActiveX control in Windows Internet Explorer. When you try to close Internet Explorer, Internet Explorer may crash.
CAUSE
This behavior occurs if the ActiveX control does not correctly release all resources. For example, circular references may cause this behavior. If the object lifetimes are not appropriately managed, the ActiveX control may cause Internet Explorer to crash when you try to close the browser.
RESOLUTION
To resolve this behavior, use one of the following methods:
Method 1
In the Hide event of the UserControl object, release all the object references that include the object references to the ActiveX control.
Method 2
In the UserControl object, create a method to clean up the object references. Call this method from the window_onunload event of the Web application.
STATUS
This behavior is by design.
REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
167380 Internet Explorer reports unknown type .VBD for Active Document
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
176468 Forms behavior in an ActiveX document
Keywords: kbexpertiseadvanced kbtshoot kbprb KB940972