Click to See Complete Forum and Search --> : I need ShellExecute help!!


gknierim
March 27th, 2001, 10:41 AM
I am using the ShellExecute API for printing my html file. How can I program it so that it is sent directly to the printer without getting the print dialog box? Below is what I have now that brings up the dialog box.


lngResult = ShellExecute(frmMain.hwnd, "print", sFullReportName, 0&, 0&, vbMinimized)




Please help ...this is all I need to finish my app!

Thanks,
Greg

deoblo1
March 27th, 2001, 05:29 PM
why dont you just do form.print or something like that