Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 14th, 2005, 10:11 AM
Authorized User
 
Join Date: Jun 2003
Location: Cape Town, Western Cape, South Africa.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Printing using EXCEL object

Hi all

Please help with this one. My program uses an excel template to print but I have recently discovered that because of the time it takes on the network printer the EXCEL object stays open even after my program is finished with it. Is it possible for me to (via VB) check the status of my print job and then "kill" the EXCEL object?

I do set the objects to nothing and do close the workbook, but because of the fact that the printing took a bit longer, the object still remains open in the task manager. The only thing to do is to let the application "hang" until the printing is finished - but for this I need to query the printer object.

Regards

Bruce
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kill Excel after printing completed Bruce VB How-To 5 June 26th, 2006 07:13 AM
coding for printing in excel ct Excel VBA 3 August 8th, 2005 08:05 AM
Printing excel sheet siddique Excel VBA 3 February 15th, 2005 12:49 AM
Printing Excel File in ASP hkccwong Classic ASP Basics 1 January 5th, 2005 12:50 AM
export excel file and printing yyjfree Crystal Reports 0 December 13th, 2004 02:44 AM



All times are GMT -4. The time now is 05:53 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.