Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run and Wait
Message
From
22/01/2002 14:24:14
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00608551
Message ID:
00608575
Views:
33
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform