Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Command.prg
Message
De
16/11/2015 03:47:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
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:
01627481
Vues:
52
>>>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.
>>
>>There are just two rules:
>>- _command.prg will be created, on quit, in the justpath(set("resource", 1))
>>
>>- command window will be populated from _command.prg found in the "start in" folder.
>
>Not true. It's loaded from the same location - set("resource", 1)

As it is at start time, yes. Haven't tried to set it to something else than default in config.fpw - so to me it is the same. To have a few different ones I'd have to create separate shortcuts (of which I actually do have a couple, and you're right, they inherit different _command.prg but then again I launch these in different folders so I didn't catch the connection with set("resource", 1), I thought it's the folder).

But when you set resource to something else (like I do from environment manager) it doesn't reload the command window. And I don't see how this can be done. Having different shortcuts for each environment is perhaps one way; having a launcher to reload Fox with proper parameters would be another.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform