Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ouch! local ini files and C/S
Message
From
25/04/2009 10:16:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
Network:
Windows XP
Database:
Firebird
Application:
Desktop
Miscellaneous
Thread ID:
01396324
Message ID:
01396372
Views:
65
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform