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:
00638059
Vues:
33
Hi George,

Thanx for your help as always.

What would be the "oShell.Run(" syntax for my situation namely:
run /n c:\emodels\emodels.exe "PATIENT_ID ", "12345", " JPG_ABO_ALL"
I don't know how to pass the inline parameters using the class suggested.

Neil

>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform