470,602 Members | 1,694 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,602 developers. It's quick & easy.

The process cannot access the file because it is being used by another process.

Hi,
I am getting the error
"The process cannot access the file "C:\Documents and
Settings\piyush\Desktop\200309181051.ktl" because it is being used by
another process."
when I try to open this file using fileopen in VB.Net
I am very sure that the file is not being used by any other process
as I tried to open other files without success.Also I rebooted my
machine & again tried to open the file.but its giving me same error.
Does anybody know what the problem is?
Thanks for your help
Piyush
Nov 20 '05 #1
2 6947
Cor
Hi Piyush,
Why don't you try another file in the same code.
Just to test?
Cor
Nov 20 '05 #2
p_*********@hotmail.com (Piyush) scripsit:
I am getting the error
"The process cannot access the file "C:\Documents and
Settings\piyush\Desktop\200309181051.ktl" because it is being used by
another process."
when I try to open this file using fileopen in VB.Net
I am very sure that the file is not being used by any other process
as I tried to open other files without success.Also I rebooted my
machine & again tried to open the file.but its giving me same error.
Does anybody know what the problem is?


Post the code you use for opening the file.

--
Herfried K. Wagner
MVP ∑ VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Raed Sawalha | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.