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

Enterprise Architect: Default settings for test artifact rendering possible?

for Use Cases and Test Classes/Suites, Sparx EA does support a rectangle notation instead of the default elliptic appearance. (As described here:…
observer
  • 2,925
  • 1
  • 19
  • 38
0
votes
1 answer

Settings.settings - How do I change from one environment to another?

I have a Web App Project (compiled DLL) along with 3 DLL projects. In my DLL projects I am using the Properties/Setting.settings to extract mutable settings from the DLL. However, when I publish from environment to the next I have not figured how…
Keith Barrows
  • 24,802
  • 26
  • 88
  • 134
0
votes
1 answer

Why is my flyout crashing when I try to create a StackPanel with two child elements and assign that to a Flyout?

I'm trying to invoke a Callisto Flyout when right-tapping on a grid in a GridView (the ultimate goal is to allow the user to change a value and store that in an ApplicationDataContainer). I first tried it with a sample that creates a menu that I…
0
votes
1 answer

ApplicationSettingsBase does not save nested object

I have this settings class class AppSettings : ApplicationSettingsBase { [UserScopedSettingAttribute()] public ObservableCollection TracksViewModel { get { return…
user1649247
  • 47
  • 2
  • 7
0
votes
2 answers

A hidden settings file specific to an instance of an executable at a given path

Not sure I have the best title for this question. Feel free to modify it or suggest a change and I will do the edit myself. I have a standalone executable which wants to maintain a settings.bin file specific to the application. There are two…
Michael Mankus
  • 4,628
  • 9
  • 37
  • 63
0
votes
1 answer

Problems in reading DLL app.setting

i have problems in reading DLL application setting in c# Visual Studio 2010. I post a sample code of the get workarounded using reflection because with the ConfigurationManager fails. private string LDAPDomain { get { string…
Simone Spagna
  • 39
  • 1
  • 4
0
votes
1 answer

Application doesnt work properly after tag is inserted in WPF config file

All, I have a program that reads a serial port data and performs some action. Here is little piece of code that does that . private void SerialDataReceivedEventHandler(object sender, SerialDataReceivedEventArgs e) { try { …
user14750
  • 21
  • 5
0
votes
1 answer

Storing Checkbox checked state in external user settings file

I have 5 check boxes, I wish to be able to store whether or not the user has checked them or not in a settings file so that when they open the program they can find that file open it and the same checkboxes are selected. I cannot for the life of me…
AdamWest
  • 29
  • 1
  • 9
0
votes
1 answer

How to store & load user preferences to file ? VB 2010

I am writing an application that allows the user to build a report which displays the meta data about a database. It is expected that the user builds the report via the application interface and at any time can save their preferences to file for use…
AdamWest
  • 29
  • 1
  • 9
0
votes
1 answer

How to store a datetime in round trip format in the .NET Application Settings system

So tonight I asked a question about storing date time formats in the Application Settings system of .NET. The answer I got makes sense but got me thinking about another situation. This is only hypothetical, I may not find myself in need of using…
Kioshiki
  • 951
  • 8
  • 22
0
votes
1 answer

Isolatedstoragesettings.applicationsettings.save does not save

I am developing an app for windows phone 7.My app communicates with a server which sends it some data which I display on the UI.And I save the state of my app in ApplicationSettings. And I have found that sometimes ApplicationSettings.Save() doesnot…
rakesh
  • 602
  • 1
  • 5
  • 23
0
votes
1 answer

Dynamic file path for IDE setting?

Can you set the drive letter to be dynamically added for an Windows application setting on a flash-USB? Would it be an environment variable, and if so what would it be called? -> (i.e. %root%/Qt/4.8.1/bin) Issue Example: I have Qt SDK 1.2.1…
Brandon Clark
  • 788
  • 1
  • 13
  • 26
0
votes
1 answer

Unable to read from Settings file

I created a console application and added a Settings1.settings file through the Add -> New Item -> Settings file. When I try to access Properties.Settings intellisense is not recognising Properties. But when I try to add a settings file through…
Shrikey
  • 858
  • 3
  • 11
  • 34
0
votes
0 answers

default XML serialization pattern of .NET objects

I've struggled to add a name/value or dictionary entry into the Settings.settings file in a VS2010 project. Unfortunantly, the built-in designer doesn't allow you to easily enter data for these types for some reason (the namespace is…
0
votes
2 answers

create application setting inside application

I want to Get all my Application Setting transfer from Setting to Application inside . Like I have settings like this in my Setting And I want to handle it from my application. The main problme is that when i need to change my setting I need to…