lonewolf32
Newcomer
- Joined
- May 3, 2006
- Messages
- 17
Hi folks - I have a number of questions regarding app and user settings in Visual Studio 2005.
- I see that app.settings is stored with the EXE and user.settings is stored under the user's home directory. I also see that app.settings values are unchangeable at runtime. I realize this is to comply with Windows logo requirements, but I would like to have settings that are changeable at runtime, stored with the EXE. Is this at all possible?
- Is System.Configuration namespace the one that was used in VS2003 (deprecated)? This namespace provides a way to access a app.config file directly, so I am assuming this is the case. If I am creating an application should I avoid this namespace?
Basically I am looking for a way to remove Registry dependency from my current application. Currently my registry settings are under HKLM (not HKCU) so the settings need to be app-level (not user-level) and they need to be modified at runtime.
Thanks!
- I see that app.settings is stored with the EXE and user.settings is stored under the user's home directory. I also see that app.settings values are unchangeable at runtime. I realize this is to comply with Windows logo requirements, but I would like to have settings that are changeable at runtime, stored with the EXE. Is this at all possible?
- Is System.Configuration namespace the one that was used in VS2003 (deprecated)? This namespace provides a way to access a app.config file directly, so I am assuming this is the case. If I am creating an application should I avoid this namespace?
Basically I am looking for a way to remove Registry dependency from my current application. Currently my registry settings are under HKLM (not HKCU) so the settings need to be app-level (not user-level) and they need to be modified at runtime.
Thanks!