Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Specifying VFP Startup Program in Shortcut
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00804211
Message ID:
00804229
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform