Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I tell when Word is finished printing a mail mer
Message
From
05/07/2000 19:13:45
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00388510
Message ID:
00388606
Views:
11
>I have finally got Word to run my mail merge perfectly in the backround out of VFP. Is there a way to tell when Word is finished printing? I am using a timeout loop now but I don't really trust it.
>
>Many thanks in advance.

There's a property of the word object that you can test.

Very simply

DO WHILE loWord.BackgroundPrintingStatus <> 0
? "Waiting"
ENDDO
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform