Results 1 to 3 of 3

Thread: Extracting image from picture box and saving as bitmap

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357
    Is there a way to extract an image from a picture box and save it as a bitmap?

    I am "fixing" a program written by someone else. They used picture boxes to store the background images for a user control. I don't have the actual bitmap files. I would like to get rid of the picture boxes and place the images in an image list control in order to save resources. How would I do this?

    Thanks in advance,

    ~seaweed
    ~seaweed

  2. #2
    Guest
    Use the SavePicture function.
    Code:
    SavePicture Picture1.Picture, "C:\MyFileName.bmp"

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357
    Thanks. Worked great. Can't believe it was so simple!!!
    ~seaweed

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