Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters sent with an .exe - not being recognized???
Message
 
 
To
13/11/2002 23:14:37
Erin Eby
Mission Critical Software
Gainesville, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00722498
Message ID:
00723943
Views:
8
>Hi all,
>
>I'm struggling a bit with some parameters and hope you can help. I have a project with a form and a main program file. I built an .exe and I'm calling it from a line like this within my other program like so:
>DO c:\temp\myprogram.exe WITH "setup"
>
>The first line of my program file within the .exe is PARAMETERS pc_setupcheck
>
>It doesn't seem to recognize that I passed in the parm at all. Another funny thing, I can call the .exe from within foxpro and it works like it should. Calling it from outside fox is another story....has anyone else experienced this? I'm working with VFP7.
>
>Thanks.
I debug with this ...
Parameters TESTorPROD
...
CTYPE  =      TYPE('TESTorPROD')
...
*** DEBUG
...
   If !(CTYPE = "C")  				   && ( no switch ) GET A CHARACTER PARAMETER
...
      Close Tables All
      Return
   Else
      lSetUp= .T.
   EndIf
Edgar L. Bolton, B.S. B.B.A.
Previous
Reply
Map
View

Click here to load this message in the networking platform