settings

Delphi - How to re-enable a debugger exception notification?

I opened a project (created in D2007/08) in D2009 and it would compile but throw tons of exceptions when executed. Strange thing, but I know the project's a mess, so I want to go ahead and fix it. Well, not really fix all of it, just make it work would be enough. When I ran it, I got some Debugger Exception Notification (the little mess...

Moving Settings to another config file

Hi. Is it possible to move applicationSettings to another config file as it is possible with connectionStrings or appSettings? When I create Settings for my web application using the designer I get applicationSettings section in my web.config such as: <applicationSettings> <TestWebApplication.Properties.Settings> <setting...

django apache on windows setting problem

python setting at httpd.conf: <Directory "C:/depot/projects/web/"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all AddHandler python-program .py PythonHandler mod_python.publisher PythonPath "['C:/Python25/Lib/site-packages/mod_python/',]+sys.path" PythonDebug O...

Do I have to derive from ConfigurationSection to support per-user settings?

I'm playing around with .NET's configuration support (the ConfigurationManager class and related support classes). I would like to write an application that, once installed: Has default settings in foo.exe.config (in Program Files). The user may later override the settings with nondefault values which should be persisted. The user's p...

C# Plugin to use its own app.config

Hi all, I finally managed to build a working solution of a plugin architecture with help of some guys over here, but now a new problem arises. My hosting application uses it's app.config file for some defaults for the executing assembly (which is a Windows Service). Each plugin should be able to load it's own settings from a separate ...

iPhone - how to put Settings bundle seen through System Settings App into your own App?

I want to create a settings page from within my app that looks exactly like the one that I would create in the System Settings Application using a Settings.bundle and Root.plist. Is there an easy way to access the controls like PSMultiValueSpecifier etc. and add them to an actual View? Thanks! ...

Visual C# "Settings Editor" within application?

Is there an easy way to wrap a "Preferences Panel" thing around the Settings.settings file (or any other settings file)? Basically I have a bunch of strings stored in Settings.settings, and want to have a form where the user can edit these.. I could add a bunch of TextBoxes, and have a button that does Properties.blah = this.blahInput....

Does asp.net setting affect classic asp (IIS 6 settings)

My company has some classic asp sites and developing new sites in asp.net, and everytime we create a new site in IIS 6 all the sites go down for a couple of seconds. So I'm thinking of changing the default value of the ASP.NET version to 2.x since that is what we're developing and I'm wondinger if these settings somehow affect the classi...

Storing settings, to edit later, in PHP

I am writing a PHP application that will have the ability to edit settings through a web interface. I didn't mean for the user (and actually, it will only be admins) to be able to load the file up in a text editor, but rather, they make a change using a form, and that will change the settings file (and do other things as well). At this ...

How do I get vs2008's intellisense member list to show full signatures?

I saw a blog post the other day that had a screen shot of intellisense's member list that looked like this: DateTime. -> [Compare(DateTime, DateTime) int] [DaysInMonth(int, int) int] ... Instead of mine which looks like: DateTime. -> [Compare ] [DaysInMonth] ... How do I ...

How best to develop a Tools -> Options style grid for my application

Hi, For my c# .net 3.5 application I need to display a whole load of various application settings to the user. I've started with a generic class called Setting that can hold either string, bools, datetimes, ints etc, for the various settings. I then have a list of these settings. Actually, the setting class implements an ISetting interf...

C# Application Settings not saving using custom class

Here's the class im trying to store [Serializable] [XmlRoot(ElementName = "Database", IsNullable = false, Namespace = "http://somesite.com")] class Database { [XmlAttribute(AttributeName = "Name")] public string Name { get; set; } [XmlAttribute(AttributeName = "Provider")] public DatabaseProvider Provider { get; se...

Adding text labels to sliders in iPhone Settings application

When configuring a Settings.bundle as part of an iPhone application bundle, it's trivial to add minimum and maximum value images to sliders (PSSliderSpecifier), but not simple maximum and minimum text labels. http://developer.apple.com/iPhone/library/documentation/PreferenceSettings/Conceptual/SettingsApplicationSchemaReference/Articles...

Rails application settings

I'm creating two related Rails applications, and I'm noticing a lot of non-DRY work. For example, the @title field being set in the various controller methods do the same thing, except for the application title, as in: # SiteController (application 'Abc') def SiteController < ApplicationController def index @title = 'Abc' end ...

How can I watch the user.config file and reload the settings when it changes?

I have a situation where I am running multiple instances of my WPF application. I want the instances to share the same user.config file. Currently, whichever instance writes to the user.config file last wins. I'd prefer for all the instances to watch the user.config file and reload the settings whenever another instance changes it. T...

Shortcut for changing font size in Visual Studio

Does anybody know if there is a shortcut or something similar for changing the font size in the editor in Visual Studio 2008? What I mean is something like Ctrl + MouseWheel as in FireFox. Accessing the Options window and then selecting Environment > Fonts and Colors is fine if you don't have to change the font size all the time, but i...

Designing Options/Settings Forms in .NET

I've got an application with about 35~ different settings in different categories. What are the best practices to expose this to the client. Secondly is there any VS.NET add-on or library (commercial or not) which can help to speed up this process. Something like "Property Grid" maybe but with a more professional and user friendly loo...

What is the difference between app.config file and XYZ.settings file?

I am actually in the learning phase of .NET related stuff and I was exploring how to save the application. I ended up writing my own class which saves the settings in an XML file and then I found that .NET itself supports saving application settings. But I found 2 ways to do that. When I open add new item dialog in Visual Studio 2008, i...

Settings.Designer file and Staticness

I have a DAL class library that is included in my program as a DLL. The below line is from the DAL to initialize the connection. DataSet ds = new DataSet("table"); SqlConnection cnn = new SqlConnection(Settings.CMOSQLConn); When I run this I get the below error: An unhandled exception of type 'System.StackOverflowException' o...

How to Unit test with different settings in Django?

Is there any simple mechanism for overriding Django settings for a unit test? I have a manager on one of my models that returns a specific number of the latest objects. The number of objects it returns is defined by a NUM_LATEST setting. This has the potential to make my tests fail if someone were to change the setting. How can I ove...