Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE -- launching Word
Message
De
27/05/1997 12:11:36
 
 
À
05/05/1997 12:24:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00030845
Message ID:
00033704
Vues:
47
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
Fil
Voir

Click here to load this message in the networking platform