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.  
joeriveraAsked:
Who is Participating?
 
alex_daggerConnect With a Mentor Commented:
why don't you try,
printer.print webrowser  ?
0
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.