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 ?
