Long,
>The question is, how do I "compile" Interop.SHDocVw.dll into my executable
>so that I don't have to deliver the application with two files?
Try one of these tools
http://research.microsoft.com/~mbarnett/ilmerge.aspx
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=B7560D78-
7384-41B0-8DDF-820137305E24
>I am sure many applications automate IE and if there's not a good solution
>for this, many instances of Interop.SHDocVw.dll would be found on the same
>hard drive.
Is that a problem?
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Long Nguyen - 09 Sep 2005 22:11 GMT
Thanks for the help, Mattias. The ILMerge tool works for me.
> >I am sure many applications automate IE and if there's not a good solution
> >for this, many instances of Interop.SHDocVw.dll would be found on the same
> >hard drive.
>
> Is that a problem?
Not a problem but more like a nuisance. 'Coz why should you have multiple
instances of the same thing all over the place?
BTW, I tried to include Interop.SHDocVw.dll in my MSI package but it's not
allowed.