Q: Printing files depending on the file ext.

  • Thread starter Thread starter Visual Systems AB \(Martin Arvidsson\)
  • Start date Start date
V

Visual Systems AB \(Martin Arvidsson\)

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
 
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,
 
Back
Top