Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FSO and SecurityException problem

Status
Not open for further replies.

CamBooth

Programmer
Jun 13, 2002
4
0
0
AU
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?
 
Try adding to the directory manually by using windows explorer and if you can do it there let me know and we can go from there...


happy Programming......
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top