Im using the following command to print a webpage which is working Quite fine
ShellExecute 0&, “Print”, “C:\Innovation\Temp\statement.html”, “”, “”, vbNormalFocus
I used the following command as well which i found from a website
Call ShellExecute(Me.hwnd, “print”, “TheScarms.xls”, “”, 0, SW_SHOWNORMAL)
The above command prints a file as well and does exactly the same
There is one problem im having
I dont want the Printer Dialog to appear
I would like my program to use the default printer or i would like it to Select a printer via my code
if i can have both it would be great
I hope someone can help me with this
Thanks
Mr R Hoosain