Create a folder for your program in the User or Common Application Data folder. Vista does not allow writing to the Program Files. Files in that folder should be read only. Do all your read/writing in the Application Data folder you create.