settings

Use DataGridView for local settings

I need simple way to persist and edit a set of string pairs in my application. I believe that DataGridView with two culmns can help me with viewing and editing, and I was hoping to use application settings instead of database to store data (maybe a DataSet as setting type). I just can't put all that together. Is there a way? ...

Simple ListPreference is not working. Any ideas?

Could someone maybe tell me what i'm doing wrong? I'm betting im missing one small thing. I've looked on the developer site and i've read some tutorials and i'm just not seeing what i did wrong. I'm trying to use a ListPreference to decide which sound to play on a button click. I have this at the top: public String greensound; Here'...

Setting indentation for specific file types in Netbeans

I'd like to specifically set the number of spaces per indent for HTML files in Netbeans. In Options->Editor->Formatting, there are settings for "Number of Spaces per Indent" and "Tab Size", but the only granularity available seems to be either "All Languages" or "Java". Is there a way to specify settings for specific editors/file types ...

How to make maven use system proxy settings

I'm using Ubuntu with Gnome where I can set network proxy settings (with authentication). The question is: how I can run maven in command line and make it use this proxy? ...

Reference to a non-shared member settings error

I have added a settings file to a project but whenever I reference one of the setting variables I get the following error: Error 2 Reference to a non-shared member requires an object reference. C:\Development\PhoenixApp\Process\CreditCardProcessing.vb 67 77 Process I had to manually add this in a merge conflict and the settin...

How can I get one of my Preference Specifiers in the Settings Bundle to default to YES?

I've got a weird one when I test on the iPhone... I have a settings.bundle that has a Boolean for background_sounds which is set to YES by default. The problem is, when the app loads first time, the background_sounds pref seems to be set to NO when checked. I've tried synchronizing NSUserDefaults and everything, but the only way of makin...

Django: Use of DATE_FORMAT, DATETIME_FORMAT, TIME_FORMAT in settings.py?

I would like to globally (through my entire site, admin and front-end) adjust the way dates and time are displayed to my likings, but I cannot figure out what is going on with the DATE_FORMAT, DATETIME_FORMAT and TIME_FORMAT variables in settings.py. In this question it says that the settings are ignored. The question is over a year old...

Visual Basic - Command for new my.settings

which the command to add a new My.Settings in visual basic without going into properties? ...

Is there a limit on a user setting size in .NET application?

I would like to serialize my object with many values as string(xml) into user settings. Is there a limit on how large a "string" user setting can be in a .NET application? I am extending ApplicationSettingsBase to save my settings. ...

iPhone Settings.bundle - how to disable/enable a setting based on other settings?

Hard to explain, but luckily there's an example. On an iPhone, when you go to Settings > Nike + iPod, in the app's settings, when you set Nike+iPod to off, it disables the rest of the settings. How do I do that? Use one setting to disable or toggle off another setting? ...

Expression Blend 4.0 - Automatically reload edited files?

I do a lot of editing between Blend and VS. VS has a great option to "automatically reload changed files" so that I don't get prompted when I do some work in Blend and switch tools. Going the other direction though I don't see an option for Blend to automatically load files when changed. Is there a way to get rid of that dialog and al...

Change Permanently Session System Variable in MySQL

I added this line to my.ini wait_timeout=2000000 When I type show global variables It prints wait_timeout=2000000, but when I type show variables It prints wait_timeout=28800 I can set with set wait_timeout=2000000 But I do not want to set it all the time manually. Do you have any suggestion to set permanently session sys...

My properties are not injected in my perso-servlet.xml (Maven2)

I don't understand why my properties are not injected in my perso-servlet.xml : <!-- Facebook OAuth helper --> <bean id="FacebookOAuthHelper" class="com.myapp.businessservices.common.facebook.FacebookOAuthHelper" p:apiKey="${facebook.apiKey}" p:secretkey="${facebook.secretkey}" p:clientId="${facebook.clientId}" p:permis...

How to override settings in php.ini and httpd.conf from my php application

I don't have any access to the php.ini and httpd.conf files. Are there any procedure to override (or add some) settings of php.ini and httpd.conf files from my php application? ...

How do I "Change the Value of a Setting Between Application Sessions" in a C# application?

The MSDN web page makes it sound easy to change application settings by hand. I can't find the file though. I can find the file in my development path, but I have no idea if that is the path the application is actually running in. I set a DB connection setting in "settings.settings" and now I want to change it on my machine. I unders...

Disable HTML TextField Drop down suggestion box

Ok so you know when type something the textfield such as "test" and then go back and it will suggest "test" when you type in "t"? How do I disable the textfield from doign that drop down suggestion box? If at all, possible - thanks. ...

Django settings app?

Has anyone run into an idea of a "settings app" for a django project? It's a set of application variables set by an administrator (not developer, so settings.py fails) using admin panel. Are there any apps ready to use? edit I probably didn't state my question clear. I don't mean editing the things like connection settings, rather th...

Settings Action constant for Tethering settings page in Android 2.2 (Froyo)

Hello, I am able to open Wifi settings screen using startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS)); I want to open the tethering and hotspot settings page using the same.Can anyone tell me the settings value i have to use instead of ACTION_WIRELESS_SETTINGS. Thanks Dheepak ...

How to change the language of the Code Analysis help in Visual Studio 2010?

Hi there, I have a small issue with the Code Analysis in Visual Studio 2010. I'm running an English version of Windows 7 with Visual Studio 2010 Premium (English version) and Code Analysis. The region, location, number format etc in Windows 7 are set to Switzerland (German). If I use Code Analysis the messages are displayed in English....

PSTextFieldSpecifier return key ?

Hello , i have noticed that a PSTextFieldSpecifier in any Settings.bundle has the following issue: The default keyboard (KeyboardType property set to Alphabet), does not dismiss keyboard when i hit "return" button...Is there a way to dismiss the keyboard when editing such a field ? Thanks in advance. ...