There have been a couple of questions that sort of dealt with this but not covering my exact question so here we go.
For site settings, if these are stored in a database do you:
retrieve them from the db every time someone makes a request
store them in a session variable on login
???????
For user specific settings do I do the same a...
I'd like to allow user to change the setting of app. But I am not sure where shall I save the configuration.
Is there any local space allocated for app?
Thanks.
...
hi there,
we're currently planning a larger WPF LoB application and i wonder what others think being the best practice for storing lots of UI settings e.g.
Expander States
Menu orders
Sizing Properties
etc...
i don't like the idea of having dozens of stored values using the delivered SettingsProvider (i.e. App.config file) although ...
What is the best way to read and/or set Internet Explorer options from a web page in Javascript? I know that these are in registry settings.
For example, I'm using the JavaScript Diagram Builder to dynamically generate bar charts within a web page. This uses the background color in floating DIVs to generate the bars. I would like to ...
Hi,
In SQL 2005/2008 management studio, how to I get the 'summary' tab to be visible?
I close it by mistake and want to open it again...any way without restarting it?
...
Is it possible to determine whether my web site is being accessed as a trusted site? In another question we determined that, in general, it is not prudent to have visibility to client IE settings. Would this qualify as an exception?
The reason I'd like to do this is that some functions won't work unless the site is being accessed as a...
When debugging web sites that I'm working on, I tend to use Attach to Process rather than F5 to start debugging (since the site's already on in Firefox). However, occasionally when doing so, I'll get the following error:
EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'.
I know this is caused by att...
Is there an outlining setting to disable 'collapsing to definition' of comments in Visual Studio 2005?
...
Is there a way to set/change the keyboard input language in Java (eg from English to German)?
Example Use Case: Script to be used for playback is recorded (typed in) on a German keyboard. The automated playback is done on a English keyboard...fails if keyboard is not set to German automatically before script is run.
...
Hi all,
is there a way to change an oracle user's default schema?
I found it in the FAQ that I can alter it in the session, but it's not what I want. E.G. the user at log on always sees another schema as default.
Thanks in advance.
...
I am working on an application where I have an images folder relative to my application root. I want to be able to specify this relative path in the Properties -> Settings designer eg. "\Images\". The issue I am running into is in cases where the Environment.CurrentDirectory gets changed via an OpenFileDialog the relative path doesn't re...
app.config configuration sections are nice, but I often need multiple configuration sets, but with small difference.
what I want is:
Have one section with default configuration (this one is created with the designer, and thus has the auto-generated strongly-typed accessors in the Settings class
Another section with only the "new" item...
Currently , Visual Studio (2005 and 2008) can handle strings, numbers, connections, color, etc in their designer view
a String collection can also be entered there. however, the default view shows the XML source, instead of the strings (when editing it, it is displayed OK)
is there a way to have the string list display correctly?
...
I export my settings in Visual Studio and if I ever move to a new machine or have problems, I use those backed up settings to restore Visual Studio to the way I like it. It also allows me to maintain a consistent development environment between the various machines that I use.
This works great for keybindings, syntax highlighting, user ...
I'm using the Database Publishing Wizard in VS2008 to push changes to my hosting provider. It doesn't look like those settings go with the project (which seems a little silly to me), but rather they go with the machine.
On each new machine that I'd like to publish from I need to go through the process of digging up my database settin...
I'd like to change the pricing column on my DataGridView based upon currency a user selected currency ComboBox.
Currently, the price column is formatted to "C2". This defaults to look like "$1.00".
However, if my user were to switch the currency to be Great British Pound, I'd like to display the Great British Pound sign ("£") rather ...
I'm using Windows Forms and VS2008. I want to store an enum value in my application's settings file.
The settings editor in VS2008 only gives me a limited set of types. Amazingly, enums don't seem to be one of these types that are automatically supported - have I understood this correctly?
From reading up on the subject, it seems lik...
Is there any way to save the state of vim settings with a document?
To clarify: I'm editing a document and I change a bunch of settings. I don't necessarily recall which; and I don't want to use these settings again, except for the current document. I don't want to manually try to remember what I've changed; or what the magic abbreviati...
Tomcat documentation says:
The locations for Context Descriptors are;
$CATALINA_HOME/conf/[enginename]/[hostname]/context.xml
$CATALINA_HOME/webapps/[webappname]/META-INF/context.xml
On my server, I have at least 3 files floating around:
1 ...tomcat/conf/context.xml
2 ...tomcat/Catalina/localhost/myapp.xml
3 ...tomcat/webapps/myapp/...
My Java application is saving stuff in 'user.home' but on windows this does not seem to be the correct path to save application information (as a friend told me). An other option is using the preferences api but it's not possible to set up the hsqldb location using the preferences api. Also, I want all files to be available in the same f...