Results 1 to 2 of 2

Thread: Delete a locked file

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Location
    UK
    Posts
    25
    Hi,

    Can anyone tell me how to delete a file from VB if it is in use by Windows.

    Is it possible ???


    Thanks.

    Phil

  2. #2
    Member
    Join Date
    Aug 2000
    Location
    TURKEY
    Posts
    37

    I am not sure but...

    Office files have a property named locked..

    If you write

    dim a as myfile
    myfile.locked=false

    it may work...


Posting Permissions

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



Click Here to Expand Forum to Full Width