Problem with a PictureBox control. [modified]
-
Hello everybody, My application has a picturebox control. Now what I want is to move the source image file (to a different directory) without clearing the picture box. Any suggestions? Thanks in advance.
Excuse me for buttin' in, but I'm interrupt driven.
modified on Monday, June 1, 2009 9:21 AM
-
Hello everybody, My application has a picturebox control. Now what I want is to move the source image file (to a different directory) without clearing the picture box. Any suggestions? Thanks in advance.
Excuse me for buttin' in, but I'm interrupt driven.
modified on Monday, June 1, 2009 9:21 AM
Hi You want to move the picture box ?
-
Hi You want to move the picture box ?
No, I don't want to move the picturebox, I want to move the image file (the file from which the image into the picturebox was loaded).
Excuse me for buttin' in, but I'm interrupt driven.
-
Hello everybody, My application has a picturebox control. Now what I want is to move the source image file (to a different directory) without clearing the picture box. Any suggestions? Thanks in advance.
Excuse me for buttin' in, but I'm interrupt driven.
modified on Monday, June 1, 2009 9:21 AM
Don't use Image.FromFile as it locks the file, use Image.FromStream instead. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
Don't use Image.FromFile as it locks the file, use Image.FromStream instead. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
Thanks a lot.
Excuse me for buttin' in, but I'm interrupt driven.