Setting Permission to Write File from VB2005 application in WIndows Vista

I am porting VB 2005 application from WIndows XP to WIndows Vista.  The XP version reads and writes files to the program installation directory i.e. C:/Program Files/MyApplic.
This doesnt work in Vista because apparently the program installation folder is automatically write-protected when the application is installed. Is there a way to remove the write protection on the installation folder from within the VB application?

Who is Participating?
BW999Author Commented:
Thanks for the bad news. But you saved a lot of time messing with it!  
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.