Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running an EXE from an EXE
Message
From
08/12/2007 10:19:20
 
 
To
08/12/2007 10:07:32
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01274149
Message ID:
01274152
Views:
10
This message has been marked as the solution to the initial question of the thread.
>What is the best way (whatever that really means) to run an EXE from another EXE?
DECLARE INTEGER ShellExecute IN shell32; 
    INTEGER hwnd,; 
    STRING  lpOperation,; 
    STRING  lpFile,; 
    STRING  lpParameters,;  
    STRING  lpDirectory,; 
    INTEGER nShowCmd

lcEXEName = 'yourexe.exe'
ShellExecute(0, 'Open', lcEXEName, '', '', 0)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform