I have a webbrowser form with a nice little webpage in it. Now I want to print that nice little webpage from another form. How can this be done (urgently!).
Regards, James.
Printable View
I have a webbrowser form with a nice little webpage in it. Now I want to print that nice little webpage from another form. How can this be done (urgently!).
Regards, James.
Just reference the WebBrowser from the new Form, ie.
Code:'In Form2..
Private Sub Command1_Click()
Form1.WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER
End Sub
Do you know why the
<BODY BACKGROUND="G:\images\btnterms.gif">
image still won't print? That is, any image that is specified with the <BODY BACKGROUND> tag? How can I get around this?