Information générale
Catégorie:
The Mere Mortals Framework
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement