Hi all, we were using this code to print from a Webbrowser, but the problem we have is when the Print Screen is shown, we can't send any keys....
Dim equery As OLECMDF
On Error Resume Next
equery = WebBrowser1.QueryStatusWB(OLECMDID_PRINT)
If Err.Number <> 0 Then
MsgBox "Error:" & Err.Description
If equery And OLECMDF_ENABLED Then
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, "", ""
So, if it is possible to sendkeys to this screen, or do you have any other source code to print a WEB page from the Webbrowser.... this must be a "silence" screen or better, not shown!!!! Hope u can understand ;-) Thanx