RETAILREALM
asked on
How do I edit read only .ini file on the system root from the code on windows vista ?
I have a windows application compiled on c#.It works on Windows XP but if I install it on Windows Vista it gives me error. The Application has one ".ini" file which saves some configuration settings into it. And this file is created at the application folder after running the application.Application foldre is on system root\Program files. When I run the application on windows vista and I create that ".ini" file,Windows Vista put it as Read Only. Because of this ,if I can't edit that file from the application runtime , it gives me message as "access to the file denied". It happens only on Windows vista.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER