Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I pass a parameter to an exe file?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00788481
Message ID:
00788973
Views:
13
If you need the call to be asynchronous you could put it into a Timer() event.



>Hi again Jeff,
>Wanted to give you an update.
>
>Doing "Do ..." stops executing the calling program and waits for the exe to close.
>
>Using "Run /N ...." doesn't wait for the exe to close, just continues execution of the calling program.
>
>
>>Hi Bill
>>
>>Didn't test this, but try:
>>
>>
>>  DO edc.exe WITH .T.
>>
>>
>>This assumes, of course, that edc.exe is a VFP program. Let me know if it works.
>>
>>Jeff
>>
>>
>>
>>>I want a button on a form to start an exe file (vfp7.0 exe file) in the background, then continue with the current form. but I can't find a way to pass a parameter to the exe file.
>>>
>>>I have tried "run /N edc.exe .T.", but it ignores the .T.
>>>I have tried "run /N edc.exe with .T." but I get an error
>>>
>>>TIA

Read about the greatest fraud in the history of mankind.
See TaxableIncome.net.
Previous
Reply
Map
View

Click here to load this message in the networking platform