Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Specifying VFP Startup Program in Shortcut
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00804211
Message ID:
00804229
Views:
22
Hi Micheal.

You should be able to do this with two different config files (normally named CONFIG.FPW). In the config file use the "command" statement to run your program at startup. Then use the "-c" command line switch when starting VFP to tell it which config file to use.

For example the two Targets would look something similar to:
"C:\Program Files\Microsoft Visual Studio\Vfp98\VFP6.EXE" /nologo -c:"c:\dev\test.fpw"
"C:\Program Files\Microsoft Visual Studio\Vfp98\VFP6.EXE" /nologo -c:"c:\dev\prod.fpw"
HTH

-Dan

>Good Morning,
>
>I am using VFP6 until our MSDN subscription arrives.
>
>My workstation is connected to 2 networks (test and production). I have a startup program that contains my pathing information to one of the networks. I would like to have a shortcut to VFP that would run the startup program for Test and one that would run the Production startup program.
>
>Is there a way to do this?
>
>Thanks,
>
>Michael Brennan-White
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform