VS 2005 ActiveX failed to load in browser windows (Microsoft.mshtml).

Posted on October 29, 2007 by ZDima.
Categories: C#.

Recently I was struggled with issue where ActiveX component developed in Visual Studio 2005 was working on some machines and failed to load into browser window on another.

It was no evidence on what is missing until I spot a message where it was complaint about missing Miscrosoft.mshtml assembly.

It turnout that the Visual Studio 2005 Setup wizard is not adding this assembly into dependency list and therefore into package.

To fix the problem I manually added Miscrosoft.mshtml.dll and stdole.dll to the setup project to copy them into application folder without registration.

no comments yet.

Leave a comment

Names and email addresses are required (email addresses aren't displayed), url's are optional.

Comments may contain the following xhtml tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>