Situation:
1. download an image via http.dll
2. save the image using the binary.dll and properly close the file
3. draw the saved image on a form
4. download the same image again for a refresh
The newly downloaded image can't be saved with the same name because
Windows throws an error: "The file may be use by another process..."
I would assume that a properly closed file can be overwritten.
Curiously, this does not happen every time (but too often).
Any thoughts are welcome
1. download an image via http.dll
2. save the image using the binary.dll and properly close the file
3. draw the saved image on a form
4. download the same image again for a refresh
The newly downloaded image can't be saved with the same name because
Windows throws an error: "The file may be use by another process..."
I would assume that a properly closed file can be overwritten.
Curiously, this does not happen every time (but too often).
Any thoughts are welcome