ApplicationSettingsBase.Save() -> where?

R

Rainer Queck

Hi NG,

Using .Net 2.0 I derived my own settings class from ApplicationSettingsBase
with just one string property to learn the usage of "settings". It works
fine, I can also modify and save/reload the settings.
Now I wonder, where the settings are save ? Are the properties saved to a
file, and if yes whats its name?

I would also appreciate some links on how to use "ApplicationSettingsBase"
in a correct way.

Thanks for hints.
Rainer
 
G

Guest

here is some info i found on the msdn2
Application-scoped settings and the default user-scoped settings are stored
in a file named application.exe.config, which is created in the same
directory as the executable file. Application configuration settings are
read-only. Specific user data is stored in a file named username.config,
stored under the user's home directory. If roaming profiles are enabled, two
versions of the user configuration file could exist. In such a case, the
entries in the roaming version take precedence over duplicated entries in the
local user configuration file.

you can read the it in here:
http://msdn2.microsoft.com/library/system.configuration.localfilesettingsprovider.aspx
hope this was helpfull
Regards,
Rotem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top