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

I tried it and it works fine.

Many thanks




>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
/Torgny
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform