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
0
votes
1 answer

ApplicationSettings and Windows Forms

I learned the technique described in this article http://www.codeproject.com/Articles/29130/Windows-Forms-Creating-and-Persisting-Custom-User The article's title is "Windows Forms - Creating and Persisting Custom User Settings in C#". Also…
user10101
  • 1,704
  • 2
  • 20
  • 49
0
votes
1 answer

Settings class architecture

Just wondering what the best practise advice would be on the architecture for a settings class. We've a number of tables which will be used to populate the class, I'm guessing a Hashtable is the best way to go? It also would be nice to have a…
Squiggs.
  • 4,299
  • 6
  • 49
  • 89
0
votes
1 answer

how to create a simple settings form?

My project I have a project that allows you to download Internet files as csv, txt, xls, etc, from different sites (stores web sites). These files are purchase orders. The download process involves download options (parameters) that can be divided…
auraham
  • 1,679
  • 2
  • 20
  • 27
-1
votes
1 answer

When using a custom type in .csproj Application Settings (Settings.settings), how can default values be set?

Currently I am working on a project, where I want to store a custom class in Application Settings, and this is working how I want it to work. If I edit the new setting, it can be Saved, and the user.config updates with the changes. I want to define…
Triims
  • 75
  • 6
-1
votes
1 answer

The .vstemplate file expects to be added to a project item, but the item being added to this is not a project item

I am getting this Error when I am trying to setup the configuration on visual studio / Microsoft Bot framework. I was gone through the stages what said in the documentation. Can you help to proceed?
-1
votes
1 answer

Errors saving app settings in C#

I know this has been answered elsewhere, but I can't get the basics to run... Regardless of the application purpose (which is obvious) private void btnSave_Click(object sender, EventArgs e) { // these are *internal* properties of…
M C
  • 61
  • 7
-1
votes
1 answer

How to save a int in Visual Studio?

I want to save a int like this: Properties.Settings.Default.Score = ScoreInt; So when I reopen the app (it's a clicker game) the int should be the one the player has made.
CookieBoy
  • 37
  • 8
-1
votes
3 answers

Settings App Xcode

Good morning all, I have my application checking for a connected device via BLE, if device is not connected i am using this code to segue to the settings App to establish the connection. NSURL *url = [NSURL…
John Z
  • 125
  • 1
  • 13
-1
votes
3 answers

iPhone's Tone Color Change from an App

Recently, I have installed Twilight on my Android phone. Apparently is adds a color tone effect on the screen. Here are two screen shots taken from PlayStore. Now my question is that is there a way to develop similar system display tone color set…
Sauvik Dolui
  • 5,520
  • 3
  • 34
  • 44
-1
votes
1 answer

MAGENTO US Tax Settings

My understanding is that I only have to charge taxes in the state(s) I have a physical presence, in my case that is TX only. So, I can't seem to set up the tax rates to charge the tax rate for customers in TX but a 0% rate for everywhere else. Some…
user9402
  • 21
  • 4
-1
votes
1 answer

Adding values to combobox from client side in WPF application + keeping combo values in application locally after closing

I have following code in my WPF application where I fill combobox, so when I run application, combobox is already prefilled: combo.Items.Add("first"); combo.Items.Add("second"); combo.Items.Add("third"); Is there anyway I…
Jacob
  • 13
  • 1
  • 7
-1
votes
2 answers

Save preferences in android

I'm trying to write code so that when the hints option is checked in settings it should display hints, but when I do s it says there is no getContext() method defined. What will this method do and where will i have to define this ? Here is my code…
sumr
  • 25
  • 3
  • 11
-1
votes
1 answer

Disabling parse notifications

I'm using parse.com for push notifications in my app. I added a "disable notifications" option to application settings like this:
Guy
  • 6,414
  • 19
  • 66
  • 136
-1
votes
3 answers

Visual Studio - Application Setting

I am trying to persist the username for my PC client.I have an setting called Username, type string, scope user. Could someone please tell me where do i assign value to this setting in run time and how do i persist it ?
user2054702
  • 69
  • 1
  • 11
-2
votes
1 answer

Display alert when settings bundle switch is toggled

I want to show an alert when i toggle the switch of the iPhone application settings bundle. Can anyone please help me out how to do it.
Phaniteja
  • 131
  • 1
  • 7
1 2 3
52
53