<i><font color="#663300">What do you use for system settings ( month, year, a name of client ) ???
In FP DOS I always used config.dbf The Codebook uses for default Registry Keys. But in to multiuser environment the better solution is an ini file. Ini file is visible for all users, but registry isn't !
greeting, Jacek Krywult</font></i>
Frankly, if it is system wide, I would use a dbf table. Either a single record table with each field being an item, or, to be a bit more flexable, a two field table such as token,value which you can always add items without needing to modify the structure of the table.
As you say, .ini is a nice choice here, because it is very easy for a user to edit a text file, they are all familiar with this... so, if the config items are fairly dynamic this to me would be a good option.
Then again, you can provide a config screen which makes it easy to edit a config.dbf.
As far as user specific settings, we use the registry. Each PC has it, it is specific to the users login, so it works nicely.
Hope this is clear as mud. ©2001 Bob Archer |