[AccessD] Creating Subdirectories

Tony Septav iggy at nanaimo.ark.com
Sun Oct 19 10:49:03 CDT 2008


Hey Max
DoEvents did something because now I am getting "Cannot delete folder: 
Access is denied"

Max Wanadoo wrote:

>Try sticking a DEEVENTS in there.
>That will release the processing to the OS to do whatever it needs and then
>come back to you.
>
>Max
>
>
>-----Original Message-----
>From: accessd-bounces at databaseadvisors.com
>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav
>Sent: 19 October 2008 16:02
>To: Access Developers discussion and problem solving
>Subject: [AccessD] Creating Subdirectories
>
>Hey All
>Thanks to all of you that responded. Yesterday was a "tired brain day". 
>This morning I built a little routine using MKDIR  to check and create 
>the necessary subdirectories. I check first to see if the drive exists. 
>Incorporated Jurgen's idea to check to see if the folder/directory was 
>created  (rights issue).
>One little glitch is if I try to delete the folder immediately after 
>creating it, I get a message "Cannot delete folder. It is being used by 
>another person or program". I have to exit Access and then I can delete it.
>
>Thanks again
>  
>




More information about the AccessD mailing list