Results 1 to 2 of 2

Thread: saving image to stream[RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Lively Member mindloop's Avatar
    Join Date
    Mar 2004
    Posts
    64

    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width