hai expert.........
I am using a PictureBox Control in Windows Application. while loading the image into the picture box control i am saving the image into a folder with a particular name, later i am saving another image to that folder with the same name. then it is giving error saying that the file is being used by other processes.
plaese give me a solution..........
thanks in advance........
Loading

Sam HobbsRank #107 · 20.5K reputationPosted Oct 29, 2010, 12:20 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Oct 29, 2010, 12:29 AM EDT
refer below..
link1, link2
Soumya Surendran84 reputationPosted Oct 29, 2010, 1:07 AM EDT
i have solved the problem by using
pictureBox1.Image.Dispose();
Suthish NairRank #92 · 22.8K reputationPosted Oct 29, 2010, 2:22 AM EDT
your post titile saying file is being used by other processes.
Sam HobbsRank #107 · 20.5K reputationPosted Oct 29, 2010, 2:41 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Oct 29, 2010, 2:52 AM EDT
end of story: problem got solved
Soumya Surendran84 reputationPosted Oct 29, 2010, 3:00 AM EDT