You will still need Internet Explorer on your machine, but you can do it
without loading the browser components. You will have to use the Process
class, running the following line:
rundll32.exe <windows directory>\system32\mshtml.dll,PrintHTML <filename>
There is an error with this though when office 2000 is installed on the
same system with internet explorer 5. Check out knowledge base article
274527, titled "Cannot Print File with .htm Extension from Windows Explorer
by Right-Clicking", located at (watch for line wrap):
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q274527
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- nicholas...@exisconsulting.com
"Von Shean" <vons...@hotmail.com> wrote in message
news:%23wSTFX0...@tk2msftngp13.phx.gbl...
"Nicholas Paldino [.NET/C# MVP]" <nicholas...@exisconsulting.com> wrote
in message news:OQ8Ex10O...@TK2MSFTNGP11.phx.gbl...
"Nicholas Paldino [.NET/C# MVP]" <nicholas...@exisconsulting.com> wrote
in message news:OQ8Ex10O...@TK2MSFTNGP11.phx.gbl...
I don't believe so. If you want to get around it, then you probably
have to load the document into a WebBrowser control and then issue a command
through ExecWB.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- nicholas...@exisconsulting.com
"Von Shean" <vons...@hotmail.com> wrote in message
news:uEDjaC1O...@TK2MSFTNGP11.phx.gbl...