Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run an EXE and wait for it to finish
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00936327
Message ID:
00936456
Vues:
26
>I need to run an exe from our application and wait for it to finish, then continuing running our application. I have tried using the RUN command but it doesn’t wait for the other exe to finish. This needs to work with all versions of Windows from 95 to XP.
>
>Any ideas?
>
>Thanks
>
John,

If the Windows Script Host is an option (and it's freely re-distributable for Win95 and is installed by default for Win98):
oShell = CREATEOBJECT("WScript.Shell")
oShell.Run("MyExe", 5, .T.)
will do it.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform