Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word App detection
Message
From
12/03/2000 10:08:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
11/03/2000 23:03:52
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00344660
Message ID:
00344708
Views:
23
>Is there a function either in vfp or win32 that will tell a program
>if there is already a copy of Word running. Thanks


Eric,
It's not sufficient that you only know if word is running or not. Also you have to know that if you started it or not. I suggest you keep your oWord public or as a property of a global object so anytime you could do a check like :

? type("oWord.DisplayRecentFiles") = "U" && If .t. word is not running

In Office2000 it doesn't matter if you have word already running or not, it opens a new instance of word for new docs.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform