• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

Printing web pages

Help! I have a vb event timer that loads a web page into
a web browser control, then prints the web page using:  
WebBrowser1.ExecWB OLECMDID_PRINT,OLECMDEXECOPT_DONTPROMPTUSER
(during the download complete event)

This is done at different times of the day. My problem is that it prints multiple copies of the last loaded page before it prints the current page.  
0
joerivera
Asked:
joerivera
  • 3
1 Solution
 
joeriveraAuthor Commented:
Edited text of question
0
 
joeriveraAuthor Commented:
Adjusted points to 25
0
 
MirkwoodCommented:
You can tell the webbrowser to not use the cache. Maybe that helps.
0
 
joeriveraAuthor Commented:
I've looked through the SHDocVwCtl library with the object browser, but could not find any way to do that? Am I missing something?
0
 
alex_daggerCommented:
why don't you try,
printer.print webrowser  ?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now