|
-
Mar 28th, 2004, 07:44 PM
#1
Thread Starter
Lively Member
saving image to stream[RESOLVED]
i have this simple code:
Dim ImageStream As System.IO.Stream
imagex = picturebox1.image
imagex.Save(ImageStream, Imaging.ImageFormat.Bmp)
the last line produces the following error:
An unhandled exception of type 'System.ArgumentNullException' occurred in system.drawing.dll
Additional information: Value cannot be null.
how can i solve this ?
Last edited by mindloop; Mar 29th, 2004 at 06:58 PM.
ehmm...
-
Mar 28th, 2004, 10:45 PM
#2
Junior Member
Take a look at this example. This was a reply to my similar quest by user edneeis.
http://www.edneeis.com/tutorial.aspx?ID=7
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
|