Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.ini files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00009177
Message ID:
00009230
Vues:
43
>>Where can I find info on using .ini files with VFP. I have some configuration info (pathes, etc.) that I am now keeping in a 1 record dbf. I would like to use an .ini file.... Will that approach work????? thanks...
>
>paul,
>
>if you dont mind global variables, take at the INILOADER.PRG
>in the download section.. allow easy build of myprog.ini file.


INI file are now back in style. Why you ask? Because #$%&@ NT 4.0 & 95 have incompatible registry systems. So we are forced back to INI's so we can run our apps on both platforms w/o modifications. I store my INI settings in Global memvars (ok -- not so OOPish but wanted to make you guys feel better (S)). I check for the existence of the memvars in th base class of all my Forms. So during development I can just run 'a' form & load the settings I need if they are not there.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform