P
pooba53
My VB .NET application (created in VS 2003) resides in c:\Program Files
\Test\ and there's a data.mdb (Access) file within this directory.
I have a feature in my program that allows the user to import a backup
copy of this Access db if they need to.
I'm using the FileCopy method to simply copy over the data.mdb file
within the directory above. However, I get a
"System.UnauthorizedAccessException: Access to the path: c:\Program
Files\Test\data.mdb denied" when the copy is attempted.
I have admin rights to my XP computer and am wondering if this is some
sort of security issue. How does one write to the application
directory?
I'm very grateful for the help.
-Dan
\Test\ and there's a data.mdb (Access) file within this directory.
I have a feature in my program that allows the user to import a backup
copy of this Access db if they need to.
I'm using the FileCopy method to simply copy over the data.mdb file
within the directory above. However, I get a
"System.UnauthorizedAccessException: Access to the path: c:\Program
Files\Test\data.mdb denied" when the copy is attempted.
I have admin rights to my XP computer and am wondering if this is some
sort of security issue. How does one write to the application
directory?
I'm very grateful for the help.
-Dan