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