The HTML events may not work correctly when a managed application tries to interact with an HTML document by using the MSHTML primary interop assembly component in Internet Explorer

Article translations Article translations
Article ID: 934368 - View products that this article applies to.
Notice
The MSHTML primary interop assembly component is incorporated into the Microsoft Visual Studio IDE for internal use. However, using the component in end-user applications is not supported.
Expand all | Collapse all

INTRODUCTION

Consider the following scenario. In Internet Explorer, a managed application tries to interact with an HTML document by using the MSHTML primary interop assembly (Microsoft.mshtml.dll) component. In this scenario, the HTML events may not work correctly.

Note
This problem occurs in all the versions of Internet Explorer.

More information

These are some known issues that are related to the MSHTML primary interop assembly:
  • When you use the Internet Explorer MSHTML.dll file in a Visual Studio .NET application, the MSHTML primary interop assembly may increase the redistributable file size. For more information about how to resolve this problem, click the following article number to view the article in the Microsoft Knowledge Base:
    305622 Primary interop assembly for MSHTML increases size of redistributable file
  • You may be unable to register the MSHTML primary interop assembly by using the Global Assembly Cache tool (Gacutil.exe). Additionally, you may be unable to register the MSHTML primary interop assembly by using the Assembly Registration tool (Regasm.exe).

    For more information about how to install the MSHTML primary interop assembly, visit the following Microsoft Developer Network (MSDN) blog:
    http://blogs.msdn.com/infopath/archive/2004/09/27/234911.aspx
  • The managed applications may not work correctly because the MSHTML primary interop assembly is registered incorrectly on the computer.
  • Internet Explorer 6 may stop responding when you use the MSHTML primary interop assembly. Additionally, you may notice that Internet Explorer does not respond to some keyboard message events and some mouse message events.

Status

This behavior is by design.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 934368 - Last Review: November 26, 2013 - Revision: 1.0
Applies to
  • Microsoft Internet Explorer 6.0
  • Windows Internet Explorer 7
  • Microsoft Internet Explorer 5.0
Keywords: 
kbwebbrowser kbtshoot kbprb kbbug kbmshtml kbinfo KB934368

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com