Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ouch! local ini files and C/S
Message
De
25/04/2009 10:16:41
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Network:
Windows XP
Database:
Firebird
Application:
Desktop
Divers
Thread ID:
01396324
Message ID:
01396372
Vues:
63
>>Actually, a settings table with several records - one global, one per workstation, one per user, and a memo in each of them with XML or even a attribute=value list of pairs, and you can have a full hierarchy of settings if you want.
>
>Wow, yes but I will leave the workstation setting the way it ir right now, ini file. I like the idea though
>
>>Or you can have just one record, for the global. So your ini is in a memo in such a table. You can even copy it out on app start and read the settings the old way.
>
>I will give this a thought but may raise issues when a user changes a global setting and the stuff needs to be merged back into the original memo

You can read the whole set of settings into a collection, and whenever anything is changed, a custom method of the collection can write everything back, so any global setting is effective immediately for anyone reading it. IOW, the technique would be simple, it's just a matter of deciding what happens when.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform