Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conventions for writing to Registry
Message
De
20/03/2006 15:51:32
 
 
À
20/03/2006 14:08:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01105821
Message ID:
01105980
Vues:
30
Hi,

(Just for the sake of argument <s>)

>FWIW, I am with Tracy on this one. I use an ini file for my application specific settings.

We are talking *user* specific settings. Where do you put the .INI file for each user?

>I would never want the pain of having to walk one of my end users through regedit < s >

Why would you need to do this? If you need generic settings you can use a batch file to modify the registry. If settings are lost the user should be able to reset them via the app. Admittedly if you talk your users through editing an INI file then they can't mess up settings for other apps - but it's far easier for them to screw up your own app if they are just using a text editor on an .INI.

FWIW we've got an app with 2000+ users all using HKEY_CURRENT_USER registry entries. Again, admittedly, I don't do tech-support but if they had many issues with this I'm sure I'd hear about it.

Anyway I now conceed the argument - in .NET MS themselves have forsaken the registry :-}

Best,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform