Dear All,
I have loaded a Image in a Imagebox from a localpath.Now I want to delete the image from the physical location.I am getting an error message that
"the file is used by another window".How to rectify this problem.
I am trying to delelte file as
How to clear the image from the Imagebox.VB Code:
My.Computer.FileSystem.DeleteFile(tempFile & "." & extension)
Thanks in Advance,
Dana




Reply With Quote