Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute but wait for completion?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00354373
Message ID:
00354883
Views:
14
I've used Andrew's suggestion of WScript.Run and it works great. Just what I wanted. The software is being released soon and requires minimum P3 so they're happy to put W98/NT4+Opt as minimum platform.

>
>The only altrernatives open to you are a third party commerical add-in, or to use the ShellExecuteEx() API call to laucnh the document, and reutrns a real process handle - you could use API_APPRUN as a template for waiting on completion.
>
>If all you need is to launch an executable and wait on completion, you can download and use API_APPRUN from here on UT, which gives just that kind of capability, but it requires an executable command line, not a document name.
>
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform