Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How change data paths from inside an application (CM7.0)
Message
 
To
15/02/2003 05:32:54
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00753649
Message ID:
00754009
Views:
28
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
Previous
Reply
Map
View

Click here to load this message in the networking platform