By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,496 Members | 1,266 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,496 IT Pros & Developers. It's quick & easy.

"in use by another process"

P: n/a
Bob
I've been repeatedly annoyed by situations where a process has failed or
otherwise something has gone wrong (not from any of my own apps) where I
cannot move, rename, or delete a file because Windows thinks it's "being
used by another process". There are no processes evident using the file(s)
or folder(s), so in order to clean them up I need to log out of Windows (XP)
and log back in.

Out of curiosity, would it be possible to use DotNet to identify and remedy
the source of the problem? I can't seem to find anything off hand...

TIA,
Bob
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
If you've opened it & then you've had a bug in your application where the
file hasn't closed then that error will be thrown. Rebooting the system will
release the resourse & you won't get that error

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #2

P: n/a
Bob
This answer adds nothing to the discussion as the information it contains
has already been stated. In fact, it is not an answer, because it completely
ignores my question.

Bob

"Crouchie1998" <cr**********@spamcop.net> wrote in message
news:e$**************@TK2MSFTNGP14.phx.gbl...
If you've opened it & then you've had a bug in your application where the
file hasn't closed then that error will be thrown. Rebooting the system will release the resourse & you won't get that error

Crouchie1998
BA (HONS) MCP MCSE

Nov 21 '05 #3

P: n/a
Try this tool:
http://www.microsoft.com/windows2000...sting/oh-o.asp

I don't think there is a way in the .Net framework to check this. I haven't found a way in the windows API to do it either, and the desciption of this tool seems to
imply that it isn't an easy thing to do.

Alex

--------------------
From: "Bob" <no***@nowhere.com>
Subject: "in use by another process"
Date: Wed, 27 Apr 2005 14:57:55 -0400
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <#x*************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: wmc1.jetzone.com 199.2.136.65
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!news feed1.ip.tiscali.net! news.maxwell.syr.edu!nntp.abs.net!spool.news.uu.ne t!ash.uu.net!news.mcleodusa.net!TK2MSFTNGP08.phx.g bl!tk2msftngp13.phx.gblXref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.languages.vb:274259
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

I've been repeatedly annoyed by situations where a process has failed or
otherwise something has gone wrong (not from any of my own apps) where I
cannot move, rename, or delete a file because Windows thinks it's "being
used by another process". There are no processes evident using the file(s)
or folder(s), so in order to clean them up I need to log out of Windows (XP)
and log back in.

Out of curiosity, would it be possible to use DotNet to identify and remedy
the source of the problem? I can't seem to find anything off hand...

TIA,
Bob

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.