Home All Groups Group Topic Archive Search About

Where are use scoped settings stored?

Author
23 Nov 2007 9:37 PM
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?

Author
24 Nov 2007 11:42 AM
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


Show quoteHide quote
"Scott M." <smar@nospam.nospam> schreef in bericht
news:OVP7HjhLIHA.4476@TK2MSFTNGP06.phx.gbl...
> 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?
>
Author
24 Nov 2007 11:44 AM
Michel Posseth [MCP]
> Is this a  feature only for Windows apps?

AFAIK

The answer is yes



Show quoteHide quote
"Scott M." <smar@nospam.nospam> schreef in bericht
news:OVP7HjhLIHA.4476@TK2MSFTNGP06.phx.gbl...
> 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?
>
Author
24 Nov 2007 3:45 PM
Scott M.
Thanks Michel.



Show quoteHide quote
"Michel Posseth [MCP]" <M***@posseth.com> wrote in message
news:%23anDv8oLIHA.4196@TK2MSFTNGP04.phx.gbl...
>
>> Is this a  feature only for Windows apps?
>
> AFAIK
>
> The answer is yes
>
>
>
> "Scott M." <smar@nospam.nospam> schreef in bericht
> news:OVP7HjhLIHA.4476@TK2MSFTNGP06.phx.gbl...
>> 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?
>>
>
>