Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching from Registry to INI.- MM 7 for VFP
Message
De
06/02/2004 14:35:00
 
 
À
06/02/2004 09:16:34
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00874801
Message ID:
00874956
Vues:
13
Hi Juan,

Since nobody else has jumped in... I had similar problems when I tried using an INI file. I decided that it was easier to just use the registry. I spent quite a bit of time trying to get it to work. So I guess my advice here would be that, unless someone else jumps in with a solution, try to use the registry if you can.

Good luck,

David

>Hello,
>
>Good morning, I just wanted to switch from storing the system settings (DBC mainly) in the registry to an INI file (this is MM VFP 7).
>Changed application object’s lUseIniFile property and the program now creates the ini files.
>
>Now everytime that I either open the applicacion or the users preference form, the value for the DBC location changes to the curdir()+"data\" , since the data is not there, the application bombs.
>
>It seems like the preferenceform ....oLocalDataDirectory.cpreferencevalue property default value is taking over (=FULLPATH(CURDIR()) + 'DATA\').
>
>This should be easy, shouldn't it?
>
>Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform