469,587 Members | 2,209 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,587 developers. It's quick & easy.

image files locking problem.

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.

Nov 19 '05 #1
0 795

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by dave | last post: by
3 posts views Thread by Christopher Mouton | last post: by
15 posts views Thread by z. f. | last post: by
35 posts views Thread by Stan Sainte-Rose | last post: by
14 posts views Thread by Steve K. | last post: by
12 posts views Thread by lawpoop | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.