Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How change data paths from inside an application (CM7.0)
Message
De
15/02/2003 05:32:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00753649
Message ID:
00753654
Vues:
31
Hi Torgny:

>Does anyone know how to change paths from inside an application made with CM7.0 ?

In each application you create with CM7, you have an application specific copy of "cmApplicationManager" called "appApplication".

You can get a reference to "appApplication" at runtime like so :-
m.oApp = findGlobalObject("appApplication")

* The properties of interest are ...
*-- m.oApp.cPathCommon
*-- m.oApp.cPathLocal
*-- m.oApp.cPathShared
Obviously, the above properties contain the values that were entered at install time. However, you are at liberty to amend these properties at runtime.

Just a note - in the DevEnv, these properties aren't populated.

HTH
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform