Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if MS Word is already running
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
How to determine if MS Word is already running
Miscellaneous
Thread ID:
00844785
Message ID:
00844785
Views:
53
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
Next
Reply
Map
View

Click here to load this message in the networking platform