Information générale
Catégorie:
Codage, syntaxe et commandes
I tried RUN, and encountered 2 problems. First, if Word is already running, RUN will launch a second instance of it. Second, RUN requires a full path, and it's possible that a user could have Word installed somewhere other than c:\msoffice\winword\.
Thanks,
Ross
>what if you use RUN instead of CREATEOBJECT()
>
>Arnon
>
>>
>>My app communicates with Word through OLE. Everything is fine is the user
>>already has Word running. If Word isn't running, then CREATEOBJECT()
>>launches it. But then, if the user quits my app and the object goes out
>of
>>scope, it exits Word. What's the best way to launch Word and keep it
>>running, even after the VFP app quits?
>>
>>Thanks,
>>Ross
>>
>>
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement