Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a project property I can use for this?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01398128
Message ID:
01398136
Vues:
54
>>>Hi,
>>>
>>>I have a .PRG that is a main program for 3 projects. When I test the program and start the application by executing this .PRG I would like to know which project I am starting from. This way, I can create a condition (in this .PRG) to load (or run) just the programs I need for this project. Note that I need it only when executing the application from VFP IDE. Is there a project property I can use for that?
>>>
>>>Thank you in advance for your help.
>>
>>I'm not sure if _VFP.ActiveProject servers the need.
>
>Yes. The name property of this object shows me the project name. Thank you!

You're welcome. And I think it should have been "serves", not "servers". Not sure why did I get confused.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform