G
Guest
After accessing an image file in my VB.Net application, then disposing of the
form which accessed the file and loading another form in the same app, I'm
attempting to copy said image file into an instance of the XPBurn component.
This is throwing an exception with the following text:
An unhandled exception of type 'System.IO.IOException' occurred in
mscorlib.dll
Additional information: The process cannot access the file
"Z:\Nurses_Project\db2\Records\00000002_10_12_2004\Images\DSC_0003.JPG"
because it is being used by another process.
Does anyone know a way of "unlocking" this file without completely shutting
down the application? ( file.unlock(filename) does not work in this case)
form which accessed the file and loading another form in the same app, I'm
attempting to copy said image file into an instance of the XPBurn component.
This is throwing an exception with the following text:
An unhandled exception of type 'System.IO.IOException' occurred in
mscorlib.dll
Additional information: The process cannot access the file
"Z:\Nurses_Project\db2\Records\00000002_10_12_2004\Images\DSC_0003.JPG"
because it is being used by another process.
Does anyone know a way of "unlocking" this file without completely shutting
down the application? ( file.unlock(filename) does not work in this case)