Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Startup Parameters
Message
 
 
To
15/03/2006 13:35:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01104624
Message ID:
01104625
Views:
11
This message has been marked as the solution to the initial question of the thread.
The /D is one of the VFP command-line switches. See How to pass parameters to VFP EXE FAQ #17861

>
>I need to pass two types of parameters to my application and it seems like VFP does not like /D as a startup parameter or is it just me?. The /Q type Parameter needs to handle multiple sub-paramters seperated by a semi-colon ";"
>
>I have a shortcut on my desktop (XP-Pro SP2, VFP9 SP1) which points to my app's exe and if I use the string mentioned below in the shortcut's Target: I get an error messagebox "The VFP9R.DLL file is invalid or damaged." and the exe does not start.
>
>
>Target: C:\Apps\MyApp\Rev01\myapp.exe "/QTestQ1;TestQ2 /DTestD1"
>Start in: C:\Apps\MyApp\Rev01
>
>
>But if I change the target as mentioned below it works.
>
>
>Target: C:\Apps\MyApp\Rev01\myapp.exe "/QTestQ1;TestQ2 /FTestD1"
>Start in: C:\Apps\MyApp\Rev01
>
>
>It looks like it does not like "/D". If I replace "/D" with "/F" or "/X" etc. it works
>
>Is "/D" a reserved word to something like that?
>
>Thanks.
>
>Sarosh
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform