Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need wait state for a vfp program while a run /n complet
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00638010
Message ID:
00638059
Views:
35
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform