Questions tagged [properties.settings]

40 questions
0
votes
1 answer

Properties.Settings.Default.Reset() not reflected immediately -Needs Restart

On pressing a Button i reset the user stored settings like this Properties.Settings.Default.Reset(); But upon checking for stored data after the reset,the data still exists outputdir = Properties.Settings.Default.OutputFolder; …
techno
  • 6,100
  • 16
  • 86
  • 192
0
votes
0 answers

Values added to Settings.Default not persisting from one area

Problem: Items added to Settings.Default not persisting after page load. Desired Functionality: Values added to Settings.Default saved and will load on next use I have a few different things that are stored in Settings.Default but one area isn't…
B Minster
  • 331
  • 3
  • 16
0
votes
1 answer

How to access events of a properties.settings.default field in C#?

I have two forms, Form A and Form B. My Properties.Settings.Default has a timer object that when "ticked" needs to open Form B. What I would like to do is program the timer_tick(object sender, Eventargs e) event for the timer object that is in the…
0
votes
1 answer

How Do I insert the INSTALLFOLDER-location into a .settings file with WiX?

As the title gives away I have huge problems inserting the custom install location INSTALLFOLDER into a .settings file. Its the the location WiX uses when doing the usual:
mrJ
  • 3
  • 3
0
votes
2 answers

How to store language specific text in C#/WPF application

I need to be able to display language specific UI text when a user uses the application. Currently I am storing the text in a Properties.Settings file for each language. Is there any way to create a variable that points to the settings file so…
Duncan Groenewald
  • 8,496
  • 6
  • 41
  • 76
0
votes
1 answer

Saving contents of a listBox to program settings C#

So what I am trying to do is save the contents from a listBox to the application Properties.Settings.Default I have no idea where to start, nor do I know if it is even possible. Thanks in advance.
Zac Voicheq
  • 93
  • 1
  • 1
  • 7
0
votes
1 answer

How to properly use Properties.Settings?

I'm using Visual Studio 2010 where I have a project, called Utilities, containing my settings.settings file which I want to access from other projects in the solution. In another project, I want to let the user manage the settings in a Windows Form…
0
votes
1 answer

How can I consolidate my dll project settings into my main exe.config file in Visual Studio 2010 for a C# application?

I can't give specifics about the application I'm working on, but the idea should be basic, I just can't find anything on this issue specifically. I have two C# projects in a solution in Visual Studio 2010. One is an executable and it references the…
Jeremiah Reed
  • 83
  • 1
  • 2
  • 10
-1
votes
1 answer

Properties.Settings with ItemsControl can't show Value

I want to iterate trough my Settings (two settings Files, Settings and Monitor) and Show them in an ItemsControl. The Problem is: I can only bind the DefaultValue (referenced to the Value Bound to the ItemsControl) and not the actual…
Nebelbold
  • 11
  • 4
-1
votes
1 answer

using a variable to assign a property in c#?

I have some properties set in the settings of a c# application. I am using them to store a string. My problem is i want to call them based on the name variable of the class. So i want to do something like this Description =…
1 2
3