|
-
Mar 1st, 2007, 07:33 AM
#1
Re: Error message
Exactly as I said before. This is from the MSDN help topic for the Bitmap(String) constructor:
The file remains locked until the Bitmap is disposed.
If you want to delete the file you have to either dispose all Image objects created from it in that way or using Image.FromFile, or else use some other method of creating the Image that doesn't lock the file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|