In my C# program that is made with Visual Studio 2010 and uses WinForms, I would like the program to save state of some checkboxes and textboxes so the next time program will be loaded they are checked or unchecked as theire last run's state. Also…
Recently, I discovered that the "Web.Config" file contains an section which seemed good for storing one's Application Settings. Heck, it even has a programmatic way to access the file thru a standard System library. So being all…
I am using VS2010 C#.NET 3.5 and application settings (the Settings.settings file). What I want to do is have different settings for my development and production environments without having to litter my code with conditional statements checking for…
Reading this article, thought having the same problem - One code base, two applications on Android
I have created an application testApp that has items like topics, splash screens, logos, charts, rules, statuses and/or events.
Now, I want different…
I have read a lot of statements like "you shouldn't clog your app.config file with custom settings". However, I was under the impression that this was exactly the purpose of the file?
Is it just indeed a preference thing? Or are there any real…
I'm building a new version of a windows forms application that is beeing installed on a various range of different pc's. The application is beeing installed by a technician, which are configuring different application, user and other settings during…
I'm looking for a way to print from web without prompting the print dialog (I just made the question).
I found This method for Firefox and it seems to work, but it obviously will affect all websites. So I'm thinking of developing a Firefox Addon…
I was wondering if anyone knew of any design patterns, articles or other information for the problem of synchronising settings between multiple devices.
Say a web site, an iPhone app and an iPad app; with future devices coming along later.
Any…
The .NET configuration settings feature is not as flexible as I would like.
If I understand Application Settings correctly, I am limited as to when I can change/edit settings. In C#, Application Settings are divided into two different types or…
I want to use JSON.Net to handle parsing a configuration file when my application is loaded. Keeping all KVP's in the same scope works absolutely fine. I would however like to break it down into sub-categories such as Settings.WebServer,…
Update 2: I found a solution
I've altered the settings file to just a JS file, added var tempSettings = to the beginning of the file, and added it in index.html. This way it gets loaded with the initial HTML, ensuring it will exist when app.run…
My program is installed with a Visual Studio Setup project. The program, when run, creates a user.config file in its default location since I'm using Settings. When uninsalling, how do I get the uninstaller to remove that user.config file?
Also, how…
In a asp.net web.config file you can do
and it will look in local.appSettings.config for any overrides to the foo/bar setting.
Is there an equivalent for…
In my application,I am writing some values in application settings file.
As i am working with prism I have some module and one shell project.
After installing setup
Case: 1
When i have not set compatibility mode as "Run as Administrator".
Running…
I have a windows service that is referencing another assembly (class library). In this other assembly I used Application Settings to store some values. When I copy all the required files to the server I can see these settings in…