R Richard Grene Sep 7, 2003 #1 How can I shell out to print a text file to the default windows printer ? Thanks, Richard
H Herfried K. Wagner [MVP] Sep 7, 2003 #2 Hello, Richard Grene said: How can I shell out to print a text file to the default windows printer ? Click to expand... \\\ 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) ///
Hello, Richard Grene said: How can I shell out to print a text file to the default windows printer ? Click to expand... \\\ 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) ///