Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking BackGroundPrintingStatus
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00397137
Message ID:
00397146
Views:
10
>I finally realized the reason I wasn't getting my mailmerge document to print is that I was "quitting" word too soon. What is the best way to keep checking oWord.BackGroundPrintingStatus? I tried the following code:
>
>
>do while oWord.BackGroundPrintingStatus > 0
>	wait "Documents Remain in Queue" window nowait noclear
>enddo
>
>wait clear
>	
>oWord.Quit(wdDoNotSaveChanges)
>
>
>However, I think this really bogs down the system

Somebody recently suggested putting the shutdown code in a timer, and checking the document count less frequently.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform