Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run .EXE from within a Form?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00322111
Message ID:
00322113
Views:
22
You must use RUN to execute a EXE. Try RUN \Programs\Both\MyEXE.EXE cParm1, cParm2.

HTH
>I have a command button on a form that starts running another application (.EXE) when pressed and passes two parameters to the application from the starting/currently running application.
>
>I used to use a DO \form\mydir\myform cparm1, cparm2 and that worked fine, but I had to switch to a DO \programs\both\myexe cparm1, cparm2 instead.
>
>Do I need to have .EXE after DO \programs\both\myexe.exe cparm1, cparm2 command. It's not executing my second application or I have another problem because I never see the second application's form appear. It just sits there.
>
>This is probably an easy one, but I have never tried this before. Thanks in advance for your help.
Previous
Reply
Map
View

Click here to load this message in the networking platform