Questions tagged [application-settings]

application-settings are global code or data used for configuration

Application settings are used to define key/value pairs for a broad range of data, such as:

  • default values
  • access control
  • file paths
  • protocol handlers
  • localization mappings

References

785 questions
19
votes
1 answer

React-Native: save user preferences

Native developers, I really searched a lot but couldn't find anything that fits my needs. I am new to react native and have a question. I wonder how I can save user preferences of my app. For example, I am displaying a dismissible badge on my…
floriantaut
  • 347
  • 1
  • 2
  • 11
19
votes
5 answers

How to use applicationSettings in the new web.config configuration in VS2010?

I'm used to use web deployment projects. Currently I am developing a new web application with VS2010 and want to try to get along with the new web.config principle and deployment issues. How can I replace a simple setting like
citronas
  • 19,035
  • 27
  • 96
  • 164
19
votes
2 answers

Access application settings from ASP.Net MVC View

In an ASP.Net MVC 1.0 applicati0n, is it possible to access the application settings (MyProject.Properties.Settings.Default.*) from inside my View (aspx page)? I've tried but the intellisense and compiler don't like it. It says that it is…
Saajid Ismail
  • 8,029
  • 11
  • 48
  • 56
18
votes
2 answers

Notepad++ Keyboard Language just Changed

Notepad++ suddenly changed its keyboard settings, which now means it thinks I use a English keyboard, although I have a Nowegian keyboard. To this end, for instance shift + 2 becomes @, as opposed to " whcih it should be. How do I reset…
Helge
  • 823
  • 5
  • 13
  • 28
18
votes
7 answers

WRITE_SECURE_SETTINGS permission error even when added in Manifest

I have added "android.permission.WRITE_SECURE_SETTINGS" in the Manifest. But still i get an error message saying - required "WRITE_SECURE_SETTINGS". I have seen a lot of talks about this, and that this setting is prevented for third party…
Louisth
  • 686
  • 2
  • 7
  • 18
17
votes
1 answer

Store String Array with Values in Application Settings

I've modified my Settings.settings file in order to have system_Filters be a System.String[]. I would like to populate this variable within the Visual Studio designer and not from within the code. I can get it to work within the code using the…
16
votes
5 answers

Application settings error after changing target framework of project

In my application I am using user settings as explained here. Then I realized that in VS 2010 I was using .NET 4.0 while only .NET 2.0 was sufficient. When I changed the framework and build the project, in my code whenever I access setting now, I…
Akshay J
  • 5,362
  • 13
  • 68
  • 105
16
votes
2 answers

How to create Apps in android which can't be uninstalled? Can we make System apps?

We are providing one default app for our customers with android phone. Which user can not be uninstall. I have used Device Admin feature from this example But user can delete app by deactivate from settings. Another possible way I have found to…
Hardik Joshi
  • 9,477
  • 12
  • 61
  • 113
16
votes
2 answers

User Settings vs Application Settings vs Resources in Visual Studio 2008

I'm a little confused by the different ways Visual Studio allows dynamic values to be saved to a project, and how they are intended to be used. I understand that if I need to include binary information like an image or a sound file with my…
Eric Anastas
  • 21,675
  • 38
  • 142
  • 236
16
votes
3 answers

Unable to access ConfigurationManager.AppSettings in a Windows Forms Application

How can I access ConfigurationManager.AppSettings in my Windows Forms Application? The error message reads: The name 'ConfigurationManager' does not exist in the current context.
cllpse
  • 21,396
  • 37
  • 131
  • 170
14
votes
3 answers

How do I retrieve ApplicationSettings from a loaded App.config file?

Is it possible to access the values from the applicationSettings section of a loaded app.config file? I have found an example How do I retrieve appSettings, but I can't find out how to access applicationSettings this way.
al-bex
  • 666
  • 1
  • 9
  • 24
14
votes
1 answer

app.config globalization

web.config allow a globalization tag: This setting will set the globalization for the entire ASP.NET application. Does this tag work in app.config in standard forms applications too? If yes... where shall it be placed? Or.. is there another way…
thomas nn
  • 933
  • 3
  • 13
  • 21
13
votes
4 answers

Default size of results window SQL Server Management Studio or alternative

Any one who uses SQL Server 2008, or earlier variants, knows that when you run the commands in the window the results window pops up for the lower half of the screen. I do want to see my results but when only the first or top 10 results will do have…
QueueHammer
  • 10,515
  • 12
  • 67
  • 91
13
votes
1 answer

Changing NHibernate Session.Save command timeout

We have a couple of long running back-end processes that take longer than the default 30 seconds. Our NHibernate version is 2.0.1.4000 and Spring.NET is 1.2.0.20313. NHibernate is configured through Spring.NET this way:
adomokos
  • 131
  • 1
  • 1
  • 5
13
votes
3 answers

C# - User Settings broken

We had a rare exception occur when reading the standard .Net user settings (this are the ones found in "project properties" in VS 2008): System.Configuration.ConfigurationErrorsException was caught Message="Configuration system failed to…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
1 2
3
52 53