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

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
Cor
Hi Piyush,
Why don't you try another file in the same code.
Just to test?
Cor
Nov 20 '05 #2

P: n/a
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.