Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get my own copy of Word?
Message
From
22/11/2000 08:14:24
 
 
To
21/11/2000 19:48:27
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00444424
Message ID:
00444546
Views:
8
>There's a little problem if the user already has Word running (started independently of my app) or starts running word while I'm doing my thing (less likely, but still I'd like to account for this case).
>
>Problem is that if there's already a copy of word running, the next attempt to start it uses the already running app. This becomes a problem when I quit word from my program. If the user had independently started word, this would quit too...and that could be disasterous if I issue a quit(wdDoNotSaveChanges) !!
>

If you start Word with CreateObject() (rather than GetObject()), you shouldn't have this problem.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform