Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run and Wait
Message
De
22/01/2002 14:24:14
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00608551
Message ID:
00608575
Vues:
30
>>What is the preferred method of running another program and waiting for it to complete. TIA
>
>Easiest would be the WScript.Shell's Run method. It requires that the Windows Script Host be installed
oShell = CREATEOBJECT("WScript.Shell")
>* lcfile is either the application to run, or a
>* file type associated with an application
>oShell.Run(lcfile, 1, .T.) && Run in normal window and wait for termination
George,

Along this line... How could an automatic check be done as to what WSH the client has installed and then can it be installed for them during the deployment of an app?

Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform