A
alex
I have few web pages that allow to upload, delete, etc images (.jpg,
..bmp, .gif)
Once the page is doen working with file thru Bitmap class I close file
handles as:
Bitmap bmp = new Bitmap(...);
//some code
bmp.Dispose();
bmp = null;
Now if I try to copy directory where files are located I get error
messages of multiple files as:
"Cannot copy 'filename': Access is denied.The source file may be in
use".
I used Proccess Explorer from SysInternals.com to loock for openn
handles for such locked files, but using "Find handle" i cannot find a
single file with open handles from my list of locked files.
Do you have ideas why files are locked and how to find locking
proccess? Thanks.
..bmp, .gif)
Once the page is doen working with file thru Bitmap class I close file
handles as:
Bitmap bmp = new Bitmap(...);
//some code
bmp.Dispose();
bmp = null;
Now if I try to copy directory where files are located I get error
messages of multiple files as:
"Cannot copy 'filename': Access is denied.The source file may be in
use".
I used Proccess Explorer from SysInternals.com to loock for openn
handles for such locked files, but using "Find handle" i cannot find a
single file with open handles from my list of locked files.
Do you have ideas why files are locked and how to find locking
proccess? Thanks.