Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Has Word Finished Yet ?? Can I Quit ??
Message
 
 
À
19/07/2001 13:19:03
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00532720
Message ID:
00532841
Vues:
10
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform