Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need wait state for a vfp program while a run /n complet
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00638010
Message ID:
00638025
Vues:
18
>Hi UTers,

There are two ways. One is to use Ed Rauh's API_APPRUN program from the download section.

The other is to use the WScript.Shell's Run method. It supports a paramter that tells the calling application to wait until the called application terminates. Sample syntax would be like this
oShell = CREATEOBJECT('WScript.Shell')
oShell.Run('notepad.exe', 5, .T.) && 5 is SW_SHOWNORMAL
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