Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check if MS Word is open
Message
 
 
À
26/07/2004 10:45:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00927921
Message ID:
00927946
Vues:
21
Hi Larry,

Haven't used automation much, but could you possibly use GETOBJECT?

>I am writing an application that creates and emails Word docs from VFP. The documents are created in batches but need to be saved individually. After the documents are created and saved, I need to open them one at a time for the user to review and possibly change before they are emailed. I use oWord = CreateObject("Word.Application") to start Word. I don't want to open Word before each document is displayed, but if the user closes Word while they are reviewing the doc I have to have a way for the program to know that and reopen it.
>
>Is there a way to check if Word is open from my VFP7 app?
>
>Any help would be greatly appreciated.
>
>Larry Morelli
Regards,

Mike

"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers

If you're going through hell, keep going. - Walt Disney
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform