Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Has Word Finished Yet ?? Can I Quit ??
Message
 
 
To
19/07/2001 13:19:03
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00532720
Message ID:
00532841
Views:
12
>Friends:
>
>Is there a property or collection in Word that I can interogate to see whether it is OK to Quit Word via Automation?
>
>I have a requirement to completely shutdown Word from VFP but sometimes, it hasn't finished printing. I would like to detect this sort of activity before I issue "oWord.Application.Quit()".

If you are using oWord.PrintOut() then you should pass in .F. as the first parameter - disable BackGround printing, which is probably enabled by default. Control will not return to VFP until printing is finished.
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform