How to get ConfigurationSettings for multiple users
-
Hi, I wanted to know how to get my C# application to have separate configuration files for each user on the same machine. I have an application called 'myapp.exe' that needs to store user-specific configuration information, preferably in the 'ROOT:\\documents and settings\\application data\myapp\useroptions.xml'. I know I can use ConfigurationSettings.Appsettings to read the 'myapp.exe.config' file and get application settings that way but that file must reside in the application folder. Any ideas?
-
Hi, I wanted to know how to get my C# application to have separate configuration files for each user on the same machine. I have an application called 'myapp.exe' that needs to store user-specific configuration information, preferably in the 'ROOT:\\documents and settings\\application data\myapp\useroptions.xml'. I know I can use ConfigurationSettings.Appsettings to read the 'myapp.exe.config' file and get application settings that way but that file must reside in the application folder. Any ideas?
http://msdn.microsoft.com/msdnmag/issues/05/04/AdvancedBasics/default.aspx[^] This is written for VB.NET, but you should have no trouble using it in C#...the information in the article is what you want anyways. Good luck Have a wonderful evening Doug Wright Developer, TDCI
-
http://msdn.microsoft.com/msdnmag/issues/05/04/AdvancedBasics/default.aspx[^] This is written for VB.NET, but you should have no trouble using it in C#...the information in the article is what you want anyways. Good luck Have a wonderful evening Doug Wright Developer, TDCI
suhweet!!!!