Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Command.prg
Message
De
15/11/2015 13:41:28
 
 
À
15/11/2015 13:26:16
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01627460
Message ID:
01627465
Vues:
61
>>Hi all,
>>
>>Is there a way to change which _Command.prg is used at startup? I would like the one in the current folder of the project to be loaded.
>
>AFAIR command/link line and afterwards config.fpw is the order searched for entry. Current project and subsequently its folder probably not known then, but a general prg could establish current project and eval() a dynamically created line pointing to that file

OK, perhaps a bit more clarification on my part is needed.

I have VFP.exe (and other needed parts) on a Flash Drive. I can plug my Flash Drive into any computer and launch VFP. But when it starts, it loads (or creates new) a resource file in the users AppData\roaming\ folder. I have tried placing a Config.FPW file in the VFP folder, with RESOURCE = command to .\FoxUser.dbf but I cannot seem to get VFP.EXE -C.\config.fpw to load the correct resource file and _Command.prg located on my flash drive.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform