Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know when word finished printing
Message
From
21/05/2003 11:43:40
 
 
To
21/05/2003 11:27:48
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00791108
Message ID:
00791116
Views:
23
>I'm working on a Word automation and I'd like to know when the printing job is over in order to avoid the error telling me that thr printing job would be canceled if Word is closed.
>
>
>Thanks in advance for any hints.
>
>
>Oscar Corte

Oscar,

This is how I do it
declare Sleep in Win32api integer
do while !empty(WordObj.Application.BackgroundPrintingStatus)
	=Sleep(2000)
enddo
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform