When you open a file, it is locked. When you close it, it is unlocked. If an
app opens a file and doesn't close it, well, you know the result. You
probably need to (1) Shut down Visual Studio and restart it, and (2) Find
where you're not closing a file in your code and fix it.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"Ponnurangam" <po*********@trellisys.net> wrote in message
news:ON**************@TK2MSFTNGP10.phx.gbl...
Hi,
I have a Web page that displays an image.
The image has three buttons at the bottom.
I have to delete the image on clicking of one of the button.
But when I try to delete the image in my code, I am getting the following
exception
Sytem.IO: The process cannot access the file because the file is being is
used be another process
Any help would be appreciated
Thanks
Ponnurangam