Go Back   Access World Forums > Microsoft Access Discussion > Modules & VBA

 
Reply
 
Thread Tools Rate Thread Display Modes
Old 07-25-2011, 07:23 AM   #1
Fat
Newly Registered User
 
Join Date: Jul 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Fat is on a distinguished road
Kill and FSO.Deletefolder Create Permission Denied 70 Error

I can't seem to get all of the files within a folder to delete, I can't even delete the folder. Funny thing is that it's always a file called 9.tif or 99.tif.

I've tried KILL on those specific file names, I've tried renaming the files, I've tried cutting and pasting the files, I've tried FDO delete and those all do nothing. I'm getting this permission denied when I take out the resume on error clause. This seems so banal but has become perfidious to say the least.

Here's what I'm doing:
1. Grab all tif images from file server and send to c:\batch\temp folder
2. Combine all the tif files into one tif file in c:\batch folder
3. Delete all tif files in temp folder
4. Loop to next record and get all tif images tied to that record (step 1).

I think it believes the files I've combined into one tif file are still open, but they aren't, and its only files 9.tif and 99.tif. How can I get around this, possibly force all open tif files to close or something? I've lost 2 days on this stumbling block and any help would be very appreciated!


Last edited by Fat; 07-25-2011 at 07:38 AM.
Fat is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission denied on K*ll Token Jester Modules & VBA 5 07-30-2013 12:49 AM
Runtime Error 70: Permission Denied DataMiner Modules & VBA 3 06-03-2010 11:48 AM
Error Trap Not Working (Permission Denied) robherms Modules & VBA 5 05-10-2007 07:47 AM
Permission Denied from Switchboard gschimek Modules & VBA 0 01-23-2007 04:42 PM
'Linked table' Run-time Error 70 Permission denied camilovic General 1 07-06-2003 10:18 AM




All times are GMT -8. The time now is 04:30 PM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Sponsored Links

How to advertise

Media Kit


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World