Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if MS Word is already running
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
How to determine if MS Word is already running
Divers
Thread ID:
00844785
Message ID:
00844785
Vues:
54
I have a VFP 7 application that uses OLE automation to export one or more reports to MS Word. The user has the option to open Word to review and edit the exported document(s). Right now I open each exported document in a separate instance of MS Word. The oWord object has already been released in code. Because the document(s) names change, I can't use FindWindow to reliably tell if Word is already open. If it is, I would prefer to open multiple documents within the same Word instance (some users are running Office2000 and some OfficeXP).

Is there a way to determine if the WINWORD process is running from within VFP?

Stephen
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform