Shell

  • Thread starter Thread starter Richard Grene
  • Start date Start date
R

Richard Grene

How can I shell out to print a text file to the default windows printer ?

Thanks,
Richard
 
Hello,

Richard Grene said:
How can I shell out to print a text file to the default windows
printer ?

\\\
Dim p As New System.Diagnostics.ProcessStartInfo
p.Verb = "print"
p.WindowStyle = ProcessWindowStyle.Hidden
p.FileName = "C:\Programme\Hamster\Changes_en.txt"
p.UseShellExecute = True
System.Diagnostics.Process.Start(p)
///
 
Back
Top