1

I am working on an app that needs to access IE and manipulate HTML5. I have worked with MSHTML versions before but could not find information on how to reference and redistribute MSHTML 10. The version installed on Windows 7 with VS 2010 and IE 10 is MSHTML 7.

Any advice would be appreciated.

UPDATE: As Vitor Canova suggested, I found mshtml.dll version 10.0.9200.16576 in System32 and SysWOW64 folders but it appears to be a native DLL and there are no primary interop assemblies installed that show up filtered in the references dialog. I could probably reference it as a COM dll but wanted to know if a PIA officially exists and what the redistribution conditions are.

Raheel Khan
  • 14,205
  • 13
  • 80
  • 168
  • With my Windows 7 with VS 2010 and IE 10 I have mshtml.dll version 10.0.9200.16576 in System32 and SysWOW64 folder. – Vitor Canova Jun 04 '13 at 12:57
  • Thanks. I have the same but from a quick inspection, it is a native DLL and there are no primary interop assemblies installed that show up filtered in the references dialog. I could probably reference it as a COM dll but wanted to know if a PIA officially exists and what the redistribution conditions are. – Raheel Khan Jun 04 '13 at 13:03
  • Got it. Added to a project and it points to `C:\Program Files (x86)\Microsoft Visual Studio 10.0\Visual Studio Tools for Office\PIA\Common\Microsoft.mshtml.dll`. – Vitor Canova Jun 04 '13 at 15:36
  • Maybe it can be available in the new version o [Tools for Office](http://blogs.msdn.com/b/vsto/archive/2013/03/06/office-developer-tools-for-visual-studio-2012-now-available.aspx?wa=wsignin1.0). – Vitor Canova Jun 04 '13 at 15:49
  • Not sure. The one you mention under VS 10 is MSHTML 7. – Raheel Khan Jun 05 '13 at 01:13
  • 1
    Just verified with someone else. Visual Studio 2012 and Office 2013 still has the same version. – Vitor Canova Jun 05 '13 at 03:27

0 Answers0