-
Hi
using webbrowser1 control and i need a few things i cannot work out,
A) print the current page without print popup box
B) if a page trys to open a new window the window is loaded into the same window,
this is for a standalone kiosk application, if anyone can help would be grateful
-
to print without a dialog:
Code:
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER
-
When a user opens a new window, to create another instance of your own program instead of IE:
Code:
Private Sub Webbrowser1_NewWindow2(ppDisp As Object, _
Cancel As Boolean)
Dim F As New Form1
Set ppDisp = F.webbrowser1.Object
Cancel = False
DoEvents
F.Show
End Sub