Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004

    Unanswered: access denied for directory

    I am using access 2000.
    I have created a set of nested subdirectories from my VBA code using createfolder method.
    When I try to delete the directories from windows XP , it gives me the message
    ACCESS denied. Check if the disk is full or write protected.
    However if I exit my database completely, the delete goes through fine.
    What could I be doing wrong. I have tried setting all the filesystem objects in my code to nothing once they are done being used.

    any help will be appreciated.

  2. #2
    Join Date
    Feb 2004
    Dorset UK
    I get exactly the same, but only on our servers, not on my C drive. I use 'doevents when I create/delete a folder using 'filesystem' functions.

    It works.....sometimes.....


    Yields execution so that the operating system can process other events.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts