Hi,
AFAIK there is no way of doing it, you either use the native app with a
print verb (the good old days's way ) or if you can host a control in your
app that knows how to handle/print the format correctly.
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Visual Systems AB (Martin Arvidsson)" <ma**************@vsab.net> wrote in
message news:uN****************@TK2MSFTNGP10.phx.gbl...
Hi!
In the good old days i used the ShellExecute with print option to print a
.DOC or .XLS file.
Is there a neet way to do this in C#? Is it the printDocument control to
use? Can it detect if it's a word document, excel document etc to perform
the right print out?
Regards
Martin