Solved

Printing web pages

Posted on 1999-01-14
5
342 Views
Last Modified: 2008-02-01
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
Comment
Question by:joerivera
  • 3
5 Comments
 

Author Comment

by:joerivera
ID: 1456457
Edited text of question
0
 

Author Comment

by:joerivera
ID: 1456458
Adjusted points to 25
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1456459
You can tell the webbrowser to not use the cache. Maybe that helps.
0
 

Author Comment

by:joerivera
ID: 1456460
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
 

Accepted Solution

by:
alex_dagger earned 20 total points
ID: 1456461
why don't you try,
printer.print webrowser  ?
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now