Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I tell when Word is finished printing a mail mer
Message
De
05/07/2000 19:13:45
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00388510
Message ID:
00388606
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform