Is user profiles an appropriate place to store things like number of items per page in a custom grid user selected? (I you can store it in the view, but it won't be per user this way).
My first though was to store these settings in user profiles, but there are problems with access permissions for programmatically creating user profile p...
How do I get my program to remember the users settings?
...
Hi,
I'm trying to customize the location of user.config file. Currently it's stored in
%AppData%\[CompanyName]\[ExeName]_Url_[some_hash]\[Version]\
I want to it be something like
%AppData%\[CompanyName]\[ProductName]\
so there's no version number and no hash stuff.
First question: can this be done and how? What are the implicati...
I'm looking for the best way to store a configuration file in an LDAP server.
My application used to save the user settings in an xml file. The user logins have been centralized in an LDAP server. The users are stored as "inetOrgPerson" in the LDAP server.
I would like to attach the xml file to each user.
What would be the best way to d...
My application needs to read an option on startup to check if it should start in read-only mode. The option should not be allowed to be changed by the user.
I usually do this now using a value set in the HKLM\Software section of the system registry. The administrator sets the value and the users can't change it (they don't have writ...
Hi Guys any help would be much appreciated.
We have an application that’s installed at several locations but we are having an issue at one particular site. In short the application settings (My.) are not being saved after a reboot. The application is build in VB.Net v3.5 Framework and we are not experiencing any issues elsewhere.
T...
By default a IIS hosted WCF service can't use libraries that uses user scope settings. The only scope that it accepts is the Application scope.
When you try to do otherwise it throws an exception:
[System.Configuration.ConfigurationErrorsException]{"The current configuration system does not support user-scoped settings."}
How to c...
Click-once deployments are suppose to maintain user settings, but on this one application we have the user settings are overwritten to the Visual Studio default every time we publish an update. Any ideas of what might be happening?
...
There are questions pertaining to reading settings from a separate config file and others similar to it, but my question is specific to application property settings (i.e. <MyApplication.Properties.Settings> - see XML file below) and how to load them dynamically. I tried the method in this post, which involved refreshing the entire appSe...
Basically multiple instances of our application will be launched but they need to have separate user settings. We currently have use "user settings" for that, and it works fine for a single instance (per windows user) but we would like to be able to launch multiple instances with say a settings path passed in via command line. Is there...
I'm trying to persist user settings to a configuration file using ConfigurationManager.
I want to scope these settings to the user only, because application changes can't be saved on Vista/Win 7 without admin privileges.
This seems to get me the user's configuration, which appears to be saved here in Win 7 ([Drive]:\Users\[Username]\A...
Perhaps this question has been asked before in a different way, but I haven’t been able to find it.
I have one or more plugin adapter assemblies in my application all having the type IPlugin, for instance. Each adapter has its own settings structures stored in a common directory. Whether they are stored in one contiguous file or in s...
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.
...