we have a bunch of applications that depend on configuration files; these nowadwys files are in the same application folder, therefore (for example)
C:\Program Files\OurCompany\OurApplication
I understand that this is the wrong folder for storing configuration files; where should we store these files:
- allows end users to change their configurations
- compliance with MS recommendations
- compatibility between different versions of Windows from Xp to Windows7
- be independent of the end user
These applications are mostly written in .NET (1.1 and 2.0), some in C ++, some in VB6: therefore, any reference to an API, constant, or anything related to this environment will be evaluated. Thanks in advance to everyone who helps.
EDIT:
I am editing this for a future reference for those who end up here: Paul's point is a very good moment to think about; this is not applicable in our case, since we have a mixture of .NET, C ++ and VB6 applications, but this is really a very good point. Following Glenβs suggestion, I found these links that may be useful: Managing user data and settings
Data and settings management
Walkthrough on user data and user settings
User Data and Settings (Intelliem Community) Client Settings Frequently Asked Questions
source share