settings

How can I find out the current color depth of a machine running vista/w7?

Hi! I want to check the current color depth of the OS to warn users if they try to run my application with a "wrong" color depth (using c++ & Qt). I guess there's a win api call to get this information, but I couldn't find anything... Thaks for any hint, Hannes ...

"Run Custom Tool" has disappeared from context menu in VS2008 Professional

After Right click on **.tt files -> I can't see it from the properties window neither ... I have CodeSmith 5.1 installed also ... ...

Possible to remove my app from settings app?

Previous versions of my app have used the Settings.bundle method to have some user preferences managed in the (external) settings app. I've done away with that now, but I'd like to be able to de-register my application so that old users who upgrade don't have a useless entry in their settings app. Any idea if this is possible? Thanks. ...

Best gVim tricks for programming?

I've used Vim for about 8 years, and I am trying gVim for the first time. What settings do you to be productive? What's in your gvimrc? Note: gVim only. Vim stuff is quite well taken care of in: http://stackoverflow.com/questions/95072/what-are-your-favorite-vim-tricks http://stackoverflow.com/questions/164847/what-is-in-your-vimrc ht...

Admin interface editable Django app settings

Is there a good way provide user configurable app settings in Django admin? Basically I would like to have a nice forms where site owner can easily edit such one off information as his contact information, front page text content, etc. Sort of like a normal admin interface of a model, but limited to only one undeletable item in the mode...

Change Printer Settings in Reportings on RUN TIME

Can we change printer settings on run time in SSRS 2008. If a parameter pass which can change the Page Setup of a Page. Like For ex: if a report is on Legal Size paper but i want to print on A4 Landscape Or Legal on run time. it depends on my choice. ...

iPhone update application version (in Settings)

Hello I have an iPhone application that displays the current version as a Settings constant (just like Skype does). When I released the first version of the application, I use this code to set the app Settings: - (void)registerDefaultsFromSettingsBundle { NSString *settingsBundle = [[NSBundle mainBundle] pathForResource:@"Settings...

"Configuration system failed to initialize" when accessing settings.settings

Ever since deleting the original settings.settings file I have had endless problems getting the settings to function. I receive the "Configuration system failed to initialize" error on the get or set methods. Any ideas? thanks. public static Settings Default { get { return defaultInstance; } } [g...

git whitespace woes

Whitespace, it turns out, has ended up being a horrible pain for me while using git. git config apply.whitespace=strip seems to highten your chances of getting conflicts (as you strip unneeded whitespace and then other collaborators see the stripped whitespace as a change to their commits?) I've tried a few other configurations for app...

How do I save/serialize a custom class to the settings file?

I have a small class that holds two strings as follows: public class ReportType { private string displayName; public string DisplayName { get { return displayName; } } private string reportName; public string ReportName { get { return reportName; } ...

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 to change the Settings.settings values for the new environment. It appears that the setti...

C# Detecting server setup

I'm writing a program that deals with the logs generated by the clients server. How can I detect where the user is storing them? It feels invasive to search all files, but what if they're being stored outside of the root. Is this acceptable, what if I make the user click "detect" first? Regardless, what if they've been renamed and reform...

iPhone Settings

Is there any way to access the iPhone/iPod touch settings programatically ? Thanks. Biranchi ...

How to deploy toolbars with default locations while still using ToolStripManager?

I seem to be caught between the vs2008 settings wizard and the ToolStripManager. Here is what I want to do... During development I locate about seven toolbars each in one of three toolstrippanels in a layout that is easy for the user. Those settings are recorded in the user.config in my development folder. The ToolStripManager reads ...

Cross-user and cross-process shared settings

I have two processes - a user process and a root-level LaunchDaemon. I'd like both processes to have shared settings. I've tried getting this to work via a sqlite database, but have run into corruption issues. I've thought about using NSUserDefaults, but the NSGlobalDomain seems to only be global for the user, and I need a cross-user ...

Storing default value in Application settings (C#)

I am using Application settings to store and retrieve my GUI settings. For one of the setting Name - FileDirectory Type - String Scope - User Value - Problem?? i need to store Desktop folder path i.e Environment.GetFolderPath(Environment.SpecialFolder.Desktop) I can't set this in Settings Page. How can i set this default value? ...

In XCode, is there a way to disable the timestamps that appear in the debugger console?

XCode's debugger console makes it easy to see any debugging messages my app sends out using NSLog(), but it always sticks a timestamp prefix on them: 2009-08-30 04:54:48.128 MyApp[94652:a0f] some log message 2009-08-30 04:54:50.647 MyApp[94652:a0f] another log message ... I have no use for this prefix, and it takes up a lot of room. I...

iPhone: Base vs' Active vs' Deployment target

I know that parts of this question was asked in several variation but I want to make sure I got it right. Here are my assumptions and understandings which I want to know if they are correct before submitting. My application assumes features supported by all OS, and so I should: Set the Active SDK to be the latest (currently SDK 3.0)....

Is storing user configuration settings on database OK?

I'm building a fairly large enterprise application made in python that on its first version will require network connection. I've been thinking in keeping some user settings stored on the database, instead of a file in the users home folder. Some of the advantages I've thought of are: the user can change computers keeping all its set...

Alternate (user-scoped) settings in a C# desktop application

Hello 1) I use Visual Studio 2008 (C#) 2) I want my desktop application to "remember" certain settings (preferences) for every user individually. 3) The application would use its own database of users (logins + passwords), so they have nothing to do with Windows accounts. How can I accomplish that? Trying to find an answer 4) I've fo...