Where are use scoped settings stored?

S

Scott M.

If I add a setting to my project in the settings designer and mark it as a
user setting, and then access and modify the setting via code, where is the
updated setting stored so that it won't be used for other users? Is this a
feature only for Windows apps?
 
M

Michel Posseth [MCP]

user's application settings in a user.config file are saved in the user's
desktop profile

non-roaming settings, user.config file is located at %USERPROFILE%\Local
Settings\Application Data\<Company
Name>\<appdomainname>_<eid>_<hash>\<verison>\user.config.

roaming user settings, user.config file is located at
%USERPROFILE%\Application Data\<Company
Name>\<appdomainname>_<eid>_<hash>\<verison>\user.config.



values are stored to the file after calling My.Settings.Save or on shutdown
of the app if save my settings on exit box is checked in the properties
window of the application


HTH

Michel
 

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