|
-
Nov 10th, 2000, 06:18 AM
#1
Thread Starter
New Member
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
-
Nov 10th, 2000, 12:36 PM
#2
Fanatic Member
to print without a dialog:
Code:
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER
I'm baaaack...
VB5 Professional Edition, VC++ 6
Using a 1 gHz Thunderbird, 256 mb RAM, 40 gb HD system with Win98se
I feel special because I finally figured out how to loop midis: Post link
I'm a fanatic too 
-
Nov 10th, 2000, 02:07 PM
#3
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|