|
-
Jun 2nd, 2004, 12:36 AM
#1
Thread Starter
Junior Member
Picturebox
Hi All,
I am loading images in PictureBox.
Actually i want to delete a file which is displaying in the PictureBox. As picture box locks the file i am not able to delete the file.
Any suggestion how do it?
Thanks in Advance
Regrds
Nag K.
-
Jun 2nd, 2004, 12:59 AM
#2
i think you can't delete the file because it is currently use in the picturebox.
if you want to delete the file....
delete also the picture that you put in the picturebox...
-
Jun 2nd, 2004, 01:24 AM
#3
Addicted Member
open and read the file into a memory stream object. display the image from the memory strream. close handle to the file and delete it.
hope it will help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|