Results 1 to 5 of 5

Thread: [RESOLVED] File in use issue

  1. #1

    Thread Starter
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Resolved [RESOLVED] File in use issue

    I work on an application that loads all the dlls for the project by copying them from one folder to the users C: drive to keep them up to date. It should overlay whatever is already there. For some reason it isn't for one dll. When I try and delete the dll in question I get a file in use message. Even after I reboot their machine it is still in use. Code the project crashing make Windows think the file is in some kind of recovery mode? Any suggestions on how to delete the file?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: File in use issue

    Is the program that uses this DLL active when the delete attempt is made?

    If so, that is probably why you are getting that message.

  3. #3

    Thread Starter
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: File in use issue

    Quote Originally Posted by Hack
    Is the program that uses this DLL active when the delete attempt is made?

    If so, that is probably why you are getting that message.
    Not after the reboot. The application has to be launched manually. Something has made Windows 2000 think it is locked. Also I don't see anything that would have it looking in the task bar. Also this is just a couple of users not everyone.

    This isn't really a VB question, so maybe my post will get moved, but how can I delete that file?

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: File in use issue

    Try booting in Safe Mode and use DOS...that should work.

  5. #5

    Thread Starter
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: File in use issue

    Thanks Hack,

    I was actually posting for a fellow worker that emailed me last night after I left for the day. I suggested the same thing to him this morning by email but he isn't in yet. I just wanted to bounce this off the gurus here. I'll close this thread.

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