I have this code:
Dim xx as image xx = image.fromfile(Fileloc) picturebox.image = xx
And I canβt delete the file, even if I uploaded it to the picture window. If I add this line:
xx.dispose
the image field turns large red X.
I only want to delete images when my application closes (these are temporary files). So will I just spare them before deleting them?
Jonathan.
source share