Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

execbw

Status
Not open for further replies.

vlad123

Programmer
Jun 22, 2005
37
0
0
DE
Hi!
I have a form with a web browser control.I want to print the information from this web browser (navigate through one web page).Until now I can preview and print this, but if I want to save in a word document it doesnt work. I can save this as a html file or txt file, but thats all.

webbrows.ExecWB OLECMDID_SAVEAS,
OLECMDEXECOPT_PROMPTUSER


And, another thing, I dont know how I can preview and print information from 2 web pages or more.

Private Sub cmdPrint_Click()
webbrows.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER
End Sub

Private Sub cmdPreview_Click()
webbrows.ExecWB OLECMDID_PRINTPREVIEW, OLECMDEXECOPT_PROMPTUSER
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top