Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do this, Do that...
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00102329
Message ID:
00102611
Views:
47
Use ShellExecute() or ShellExecuteEx() Winn32 API functions to run myapp.exe. These function don't wait for the "other" exe to finish.

Vlad

>I have a tiny server EXE that's run from the user desktop, that checks version and copies new app EXE to local hard drive if needed. Then it runs the hard drive app EXE, so I have in the small server EXE:
>
>DO c:\etc\myapp.exe
>
>as the last line of code.
>
>My question is: is there a way to close the small server EXE after it launches the app EXE? Or a slightly different strategy that would accomplish this?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform