Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call another windows program
Message
From
10/07/1998 17:36:37
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00115573
Message ID:
00116350
Views:
13
>Hi Gary,
>
>! /n exeName Parameter1, Parameter2
>
>Do not put any quotes in string or numeric parameters and you should be ok.
>
>
>>Other than using the RUN /N command to run a windows based program, how you can you call it and pass parameters (Command line) to it? The command line version of:
>>
>>PrgStr = + " " +
>>RUN /N PrgStr
>>
>>This does not work as the RUN command will not accept a string variable to run with and with that you can't change the parameters that need to be passed. I have already tried DDE and its not a compatible program.
>>
>>Thanks
>>
>>Gary

Kamal,

Thanks but having configurable line items is what I needed to do. Have fixed the problem by calling ShellExecute through the win API. Appreciate the help.

Gary
Previous
Reply
Map
View

Click here to load this message in the networking platform