General information
Category:
Windows API functions
Title:
How to determine if MS Word is already running
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only