The process cannot access the file because it is being used by another process
Hi,
I have facing a peculiar problem, the problem is I want to replace a image file that has already been saved in the "System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath);"
,I have no problem when I am saving the file for the file for the first time but when I try to replace or add a new image to the already saved image, I am getting this problem ,
The process cannot access the file 'G:\Folder1\Per\Pers\bin\Debug\ItemImage\Water lilies.jpg' because it is being used by another process.
Thanks in Advance,
A.Durga Prasad