How to share INI file or data from/to the registry under Win NT (or XP pro)
Posted on 2003-03-16
During the setup process of my program, I create a .INI file that stores many parameters and preferences.
When this program is running, the end user MUST access this ini file to get settings, change them or specify preferences.
Problem with Win NT or XP pro : Only a user having the status of an "Administrator" is allowed to install a program and, later, none of the other end users, being only "regular" ones, can access the INI file.
Instead of writing/reading these parameters in an INI file, I tried to put them in the registy but it's the same problem, as well when using the standard VB functions(SetSetting, Getsetting ... ) as by using Windows functions (RegOpenKeyEx ...)
How can I do to make it possible that ALL the users, whatever their status ("Admin." , "Power user", "Regular") can access the same INI file ?
Thank you !