G
Guest
I get 'file in use' exception when I call File.Delete("myFile.jpg").
But I can't see any reason for that. The file is open by any application.
I have loaded the file into an PictureBox.Image earlier, but after that I
have made
Image.Dispose() and Image = null and GC.Collect().
So the question is: Why is the .JPG file still 'in use' ???
But I can't see any reason for that. The file is open by any application.
I have loaded the file into an PictureBox.Image earlier, but after that I
have made
Image.Dispose() and Image = null and GC.Collect().
So the question is: Why is the .JPG file still 'in use' ???