settings

C# .NET Application Settings and Upgrading

I use Settings.Default.MySettingName & Settings.Default.Save to save and load settings. When I change my version number how am I able to get the settings from the old version and apply to them my new version? I just can't quite figure it out. ...

Storing settings inside DB

Hello, can someone tell me what's the best way to store many different settings in a database? Should I use one table with id,key,value? Here is an example what i have to store: PageNavigation.Font = "fontRegular"; PageNavigation.FontSize = 14; PageNavigation.FontColor = 0x000000; PageNavigation.SubFont = "fontRegular"; PageNavigation...

Settings variable returning a different value in VB.net!

This is a quite strange problem. I have set a setting variable in Application settings with following data: Name: county Type: integer Scope: user Value: 0 Yet when I reference it with this statement: MsgBox(My.MySettings.Default.county) It alerts 1. Despite being the first to be executed as soon as form loads. ...

ConfigObj/ConfigParser vs. using YAML for Python settings file

Which is better for creating a settings file for Python programs, the built-in module (ConfigParser) or the independent project (ConfigObj), or using the YAML data serialization format? I have heard that ConfigObj is easier to use than ConfigParser, even though it is not a built-in library. I have also read that PyYAML is easy to use, ...

Silverlight saving to Wordpress Database

I have a wordpress database for accounts and settings (or for this example, joomla accounts and settings database). I also have a working silverlight application that works all by itself without problems. How can I have the two communicate? For example, the user should be able to log on to my silverlight application using my wordpress/...

Shew Soft Vpn Client Route Metric

After connecting to the business network i have no internet access. route print shows 0.0.0.0 0.0.0.0 192.168.132.222 192.168.132.166 121 0.0.0.0 0.0.0.0 On-link 10.100.10.26 31 Through these commands route delete 0.0.0.0 mask 0.0.0.0 192.168.132.222 route add 0.0.0.0 mask 0.0.0.0 192.168.1...

how to setting time in jquery?

hello.i'm newbie at web developing. i have some input form.i'm using jquery 1.4.2 inside that i have one textfield specially for input time. i want every one no need to type manually. and also make easy for every user. can you tell me how do i do that? ...

MyEclipse is formatting my Java code when I run an Ant build

When I run an Ant build, MyEclipse (happens for v6.0 and 7.5) formats my code. When I open the file it says it was modified on the file system and when I reload it it is formatted. The thing that is even stranger is that it is not formatted as specified in the Code Style in my Preferences (seems like Java Sun codding rules). As far as ...

visual studio 2010 intellisense won't auto-pop after period

I can't get VS2010 to auto-pop after i type a period. I'm programming in C#, and i've tried playing with the settings under Tools > TextEditor > C# > Intellisense, with no luck. I've also tried 100 different ways to google it with no luck. ...

How to set up a large and complex Java web project so that "trial-and-error" isn't terrible waste of time?

This question is something like a holy grail of project environment setting. Here goes a rationale: Big projects tends to have poor documentation so there are a lot of trial-and-error cycles. Therefore I often use the reload-without-redeploy feature of some libraries (facelets, webflow, tapestry, jrebel...). The easiest way to use such...

iPhone Not Deleting the Settings

I have just installed the latest update to the iPhone. I also have deleted my app from the iPhone and noticed that a previous install of my app has left the Settings bundle on my phone after I dis-installed the app. Now, I have a Settings bundle without the related app. This should not be possible as the older version sandbox shou...

Visual Studio 2008 crashing on close if windows layout altered

My VS2008 is crashing whenever I close it, if I have changed how windows are arranged (e.g. docking the Output window somewhere else). I have switched off all plugins etc. I suspect that the settings file for the layout is corrupted or something. Where is it, and would delteing it possibly help? ...

Is there a shortcut to changing settings (esp. locale) in the iPhone Simulator?

I was wondering if there's any way to speed up changing settings in the iPhone Simulator: the general case here is a way to improve repeatability of testing an app across a number of predetermined configurations, but more specifically, it'd really help if I could change both 'language' and 'region format' in Settings.app to a specific ...

How to add preference of Custom Input method to Android Settings app?

Hello everyone! Recently I've started to develop Android Soft Keyboard and got some problem with preferences. How to add a preferences to Android setting app? I've searched almost all the source code of AnySoftKeyboard, but haven't found anything what would add them to Settings app. I'm placing a link to show what I meant: http://cod...

iPhone Settings.bundle textfield preference

Hi, How would I make an option in Settings.bundle which allows the user to select what type of textfield preference they would like? Example: selecting if they want autocompletion on or off. Thanks ...

Where should a Visual Studio Add-in store its settings?

Currently I'm storing the settings for my custom addins in the registry but this seems like a kludge. I was wondering if there was an official place to store add-in settings. My preference would be to store them where Visual studio stores settings so they can be exported and imported easily. Is it possible to store add-in settings with...

2 settings.bundle questions: 1: how to have settings show for two builds? 2: different settings based on iphone vs. ipad.

Right now with my settings.bundle only bulids for the pro version. I want to know two things: 1: How do I get it to show up for both the pro and lite builds? 2: Is there a way to show different settings based on iPhone vs. iPad? ...

Wordpress Settings API

I'm using the Wordpress Settings API to create an options page for a plugin that handles images and links. I can register 3 add_settings_field calls and add 3 images and links to the site. Does anyone know of a way to dynamically let the user add a new field (add_settings_field) on the fly. For instance if it started with 1 field, but th...

push notifications settings in iphone

In iphone settings there is an option called "Notifications" and inside it should be list of application which use Push Notifications. How can I place my App there? Does the iphone SDK to this automatic if the appllication uses notifications or should I do this on my own? If it should be automatic then why my app isn't there? ...

[iphone] initial settings of NSUserDefaults

So I was reading this: http://stackoverflow.com/questions/2228302/storing-iphone-application-settings-in-app which seems simple enough. However, where/how would I define the initial settings? So for instance I have a Country setting: UK or USA. When the app is first installed/opened I want it to automatically know/set NSUserDefaults to...