Results 1 to 3 of 3

Thread: Save multiple images to one file

  1. #1

    Thread Starter
    Hyperactive Member Gtarawneh's Avatar
    Join Date
    Mar 2002
    Location
    Unknown
    Posts
    382

    Question Save multiple images to one file

    How can we save multiple images from Picture boxs to a file, then load them back to the picture boxes?

  2. #2
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    I don't think you can save mutiple images to 1 file, but you may do something like this:

    VB Code:
    1. Private Sub Command1_Click()
    2.  
    3.     SavePicture Picture1.Picture, "c:\temp.bmp"
    4.  
    5. End Sub
    6. Private Sub Command2_Click()
    7.  
    8.     Picture1.PaintPicture LoadPicture("c:\temp.bmp"), 0, 0, Picture1.ScaleWidth, Picture1.ScaleHeight
    9.  
    10. End Sub

    Roy

  3. #3

    Thread Starter
    Hyperactive Member Gtarawneh's Avatar
    Join Date
    Mar 2002
    Location
    Unknown
    Posts
    382
    Said previously by Gtarawneh
    MULTIPLE Images

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