Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command Line Values
Message
 
 
To
15/12/2002 22:36:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00733213
Message ID:
00733214
Views:
18
Include LPARAMETERS statement into main program of you project and than call your exe with parameters separated by spaces. Just remember that all parameters're passed into EXE as a string.
* Main program
LPARAMETERS tcPar1, tcPar2, tcPar3
...
* Call exe
myapp.exe Param1 Param2 Param3
Don't use '-' in front of parameters because it could conflict with VFP commnad line switches.


>Hi,
>
>Is it possible to pass a value to an vfp exe as a command line value?
>
>e.g. 'MyProg.exe -training' or something like this.
>
>Thank you in advance for your help.
>
>Regards,
>Mike Mayo
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform