Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing another application
Message
From
01/03/2000 14:22:57
 
 
To
01/03/2000 13:21:26
Michael Vaccarello
Insurance Data Processing, Inc.
Wyncote, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00339946
Message ID:
00339998
Views:
27
>I would ilke to execute another application (not using the RUN command) from withing Visual FoxPro. Is there an API, or something, that will do that for me? My EXE needs another program running to work and I want to make sure it is running simultaneously.

If you don't need to wait for the program to finish running, you can just use shellExecute to do this:

DECLARE Long ShellExecute IN Shell32.dll Long, String, String, String, String, Long
?ShellExecute(0,"open","c:\myprogram.exe","","",0)
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform