INI or Any Other File..... ?

  • Thread starter Thread starter Smitha Patel
  • Start date Start date
S

Smitha Patel

In a VB.Net based desk top application which is the best design to store
initial value settings?

Is it still the old INI file or something.config file? I am using
..NetFramework1.1. What is the professional way of doing in .Net based
desktop application.

Thanks,

Patel
 
save the value in an application config file. similar to a web config file.

then:

initValue = ConfigurationSettings.AppSettings("DataCollectionFromAddress")

-Andrew
 
If you're talking about settings that are set by the admin and not changed
very frequently, then the <appSettings> section of web.config is a good place.
If you mean per-user settings, then I'd suggest putting those sorts of things
into your database.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
Back
Top