General information
Category:
COM/DCOM and OLE Automation
>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
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