Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Parameters
Message
 
 
To
26/11/2001 14:13:20
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00585908
Message ID:
00585911
Views:
19
You can pass only character parameters into exe.

>I am trying to pass parameters from a VFP Exe to a FPD exe. I am using dos shell for my method to fire off the exe. My parameters are variables.
>
>VFP6 Code (EXE)
>-------------------------
>strParam = 'Test Param'
>blnParam = .t.
>dteParam = {11/30/2001}
>numParam = 15
>
>!/n fpdtest.exe strParam blnParam dteParam numParam
>
>FPD Code (EXE)
>-------------------------
>param strParam, blnParam, dteParam, numParam
>------------------------------------------------------
>What end's up happening is instead of capturing the value of my variable parameters, it captures the name of the variable itself.
>Instead of 'Test Param' it is capturing 'strParam'
>
>How can I pass and capture the value of a variable and not the name?
>
>Thanks in advance,
>Ben
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform