erin_allen
asked on
FileCopy and Permission Denied
I have a VB5 application that copies several files from one directory to another. This application is running fine on most machines, but on one particular machine/user/location it is failing.
When the files aren't in the final directory every thing runs fine, but when the files are already there and the app tries to do a FileCopy, the Permission Denied error appears. When I try to manually delete these files I get the same error. If I open the files and resave them, I can delete them no problem.
What's going on? Is the security for the user causing the problem?
Thanks,
Erin
When the files aren't in the final directory every thing runs fine, but when the files are already there and the app tries to do a FileCopy, the Permission Denied error appears. When I try to manually delete these files I get the same error. If I open the files and resave them, I can delete them no problem.
What's going on? Is the security for the user causing the problem?
Thanks,
Erin
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you using the Dir function?
ASKER
And I believe we only have change permissions for these users. I'll try and get it changed to include delete.
Thanks.