473,387 Members | 1,303 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Where are use scoped settings stored?

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?
Nov 23 '07 #1
3 1621
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
"Scott M." <sm**@nospam.nospamschreef in bericht
news:OV**************@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?

Nov 24 '07 #2
Is this a feature only for Windows apps?
AFAIK

The answer is yes

"Scott M." <sm**@nospam.nospamschreef in bericht
news:OV**************@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?

Nov 24 '07 #3
Thanks Michel.

"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>
>Is this a feature only for Windows apps?

AFAIK

The answer is yes

"Scott M." <sm**@nospam.nospamschreef in bericht
news:OV**************@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?

Nov 24 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: suranga.suranga | last post by:
Hi, I am somewhat confused about why "application-scoped settings" are readonly, and cannot be updated at runtime. I have an application which is run by users, and in unattended mode under a...
3
by: Mirek Endys | last post by:
Hello all, I have this problem. I have a windows service and I would like to put there Settings for starting this service. Because of this service is running under NETWORK_SERVICE account, what...
3
by: Trapulo | last post by:
What does mean this error? The current configuration system does not support user-scoped settings. I'm accessing a my.settings data from a DAL dll referenced by an ASP.NET app. I've a...
0
by: Cyke | last post by:
Hello, I have created an ASP.NET application that consumes a C# webservice. The webservice works fine on its own. However, when I try to access it from my applicaiton, I get the following...
2
by: Dave Booker | last post by:
How are complex data types saved and restored when used as User-scoped Application Settings? For an example of what I'm trying to do that does not work, take the following: A project has a...
10
by: Paul Cheetham | last post by:
Hi, I am developing an application that needs to store some machine-specific settings. The application is going to be published on the network in order to keep the clients on the latest version....
3
by: mosesdinakaran | last post by:
Hi Where does the cookies stored in the client machine that php creates after calling session_start() function. I am using IE... I checked in the following folders but no cookies are stored....
0
by: SteveKershaw | last post by:
I have a problem in which I'm trying to access a method in a .DLL from an ASP.Net web page (written in C#). I keep on getting the error "The current configuration system does not support...
2
by: Chris Dunaway | last post by:
What what I have read, Application Scoped settings in the setting file are read only. Why is this? Is there a good reason for this restriction? I understand that some settings will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.