3
Reply

Release image file on button click.

Ranjit Powar

Ranjit Powar

Jul 9 2015 1:23 AM
422
I have a picture box in which I add image. In button click event I set image property of picturebox to null. Now I want to release the handle to the file and delete it. How to do this. When I try to delete, it gives error file is used by another process?

Answers (3)
Next Recommended Forum