|
-
Jun 15th, 1999, 04:41 PM
#1
Thread Starter
New Member
I am fairly new to VB and am using VB version 6.
My form is very simple. It just have a web browser, a print button and an exit button.
My questions are:
1) How do I program it to be able to print out what is on the web browser screen?
2) How do I obtain the content of the current
web browser page which was on display?
3) How do I disable the right mouse click button on the web browser screen?
-
Jun 17th, 1999, 06:17 PM
#2
New Member
Use this code to print your browser window.
Private Sub Command1_Click()
olecmd = 6
oleparam = 1
On Error Resume Next
WebBrowser1.ExecWB olecmd, oleparam
End Sub
You can also change the print feature by changing the value of oleparam. The number 1 shows the print dialog box.
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
|