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
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |