G
Guest
Hi guys.
I'm doing development for my windows based program.
I'll load a lot of html files and print it out.
But with the code that I have, it will show the print dialog box everytime
before printing. That means if I have 100 html files to be printed, I need to
press "OK" in print dialog box in order for the printing process to continue.
So I need help on how to suppress the print dialog box, please help. And
below are my codes.
p.Verb = "print"
p.WindowStyle = ProcessWindowStyle.Hidden
p.FileName = strFileToPrint
p.UseShellExecute = True
System.Diagnostics.Process.Start(p)
I'm doing development for my windows based program.
I'll load a lot of html files and print it out.
But with the code that I have, it will show the print dialog box everytime
before printing. That means if I have 100 html files to be printed, I need to
press "OK" in print dialog box in order for the printing process to continue.
So I need help on how to suppress the print dialog box, please help. And
below are my codes.
p.Verb = "print"
p.WindowStyle = ProcessWindowStyle.Hidden
p.FileName = strFileToPrint
p.UseShellExecute = True
System.Diagnostics.Process.Start(p)