Hi all,
I am running a Local VB.NET application, it uses the FSO.CopyFile method to obviously copy a file. The application has not created this file, but merely edits it and copies around to different locations. Now, if I copy the file to the same dir, but with a different name, no problems, but if the very next line I am copying the file to a different directory structure, but still local, I get CTL_E_PERMISSIONDENIED. Yet, my local security policy is Fully Trusted, and I have also added the app in to be Fully Trusted.
Any ideas on this?
I am running a Local VB.NET application, it uses the FSO.CopyFile method to obviously copy a file. The application has not created this file, but merely edits it and copies around to different locations. Now, if I copy the file to the same dir, but with a different name, no problems, but if the very next line I am copying the file to a different directory structure, but still local, I get CTL_E_PERMISSIONDENIED. Yet, my local security policy is Fully Trusted, and I have also added the app in to be Fully Trusted.
Any ideas on this?