Redistribution of Microsoft.mshtml.dll

J

John Bowman

Hi,

I've got a simple C# (.NET 1.1) app that will run only on Win2K and WinXP
(min IE ver. 5.01) that uses the ax webbrowser control to display a simple
hmtl page and disables the right click context menu in the process. I've
discovered that I need to include into my installation the file
Microsoft.mshtml.dll or this portion of the application fails. I've been
hunting around and can't understand exactly what I need to do to include
this 1 file in my app's installer.

I found the following link:

http://msdn.microsoft.com/library/d...p/browser/overview/prog_browser_ovw_entry.asp

I really don't want to include IE or customize it at all, just get
Microsoft.mshtml.dll onto the user's system so the WebBrowser control has
it's right click menu removed. I know that the version of IE and SHDocVw.dll
will always be new enough because the OS must be Win2K or newer for this
app. I noticed that this file is normally found in the GAC. I also see that
this file's version information claims: "Assembly imported from type library
MSHTML"

Do I really need to use the IEAK and get the royalty free license just to
use this file? Is there some other mechanism that would allow me to compile
it into my assembly, so I don't need to redistribute it as another file at
all?

TIA,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top