LebenOjanen
New member
- Joined
- May 11, 2005
- Messages
- 4
- Programming Experience
- 5-10
I am making a program that allows users to enter information into a database and import pictures from other areas of their computer. The selected picture is copied to an Images directory inside the program directory.
However I cannot delete the image when the delete function is called. The error message I get says the image is still in use. I have tried the picturebox.Nothing, etc., commands and still recieve this error.
How can I delete the picture without having to close the form or put the pictures into some kind of delete-queue upon program exit?
However I cannot delete the image when the delete function is called. The error message I get says the image is still in use. I have tried the picturebox.Nothing, etc., commands and still recieve this error.
How can I delete the picture without having to close the form or put the pictures into some kind of delete-queue upon program exit?