General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
Hi Dragan,
>>We are talking *user* specific settings. Where do you put the .INI file for each user?
>
>In the app directory, one ini file per user - based on their login name, or some key derived from it. Or, as I said in another message, in a memo in users.dbf.
>
Using a memo file is a different argument and, as I replied to Marcia, putting all the INI's where they are accessible to all users pretty much rules out their use for any security related settings.
>Then there's app level settings, one ini per app. And the workstation level ini, just as Tracy said - directory locations etc, which may depend on drive mappings - even though I don't have a problem with that, they all map the same. But they may have different printer settings, so the preferred printers are a geographical thing to set properly - if one workstation consistently printed on a printer that was at the other end of the hall, I'd surely hear about it :).
But all these variations can also be handled in the registry using the HKEY_CURRENT_USER, HKEY_USERS/Default and HKEY_LOCAL_MACHINE hives.
Of course the argument for using the registry is mainly relevant if the app depends on the windows login for identification. But if it does then you have the added advantage of allowing users to log on to any machine on a domain and still obtain their chosen preferences (ala roving profiles) - can't do that with INIs.
Regards,
Viv
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only