For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > April 2006 > Web Printing Using SHDocVw.InternetExplorer Issue









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Web Printing Using SHDocVw.InternetExplorer Issue
Mario G.

2006-04-28, 6:56 pm

Hi All,

I am attempting to programmatically print a Web page using the
SHDocVw.InternetExplorer object as follows:

..ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, 0, 0
..Quit

I issue the .Quit at the end of the method but it executes too quickly
before the page is printed. Is there some way to check the print status
before I quit the IE object? I've looked at the ReadyState, Busy and
..QueryStatusWB(OLECMDID_PRINT) properties with no luck.

Any help would be appreciated.

Thanks,

Mario
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com