Results 1 to 16 of 16

Thread: picturebox problem [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2002
    Location
    CT
    Posts
    62

    Question picturebox problem [RESOLVED]

    I have been developing a program and am now trying to save its contents. What i have is a picturebox with several things inside of it including textboxes, and other pictureboxes. All i want to do is save the main picturebox along with all of the other stuff inside of it to a .bmp or a .jpg. I have tried all the normal things but nothing inside the picture box is saved. Does anyone have any thoughts on that? The file is physically created, however it does not contain the contents of the picturebox, only the border of the picturebox.

    This is my current code:

    SavePicture frmImage3.Picture1.Image, CommonDialog1.filename

    I also tried

    SavePicture frmImage3.Picture1.Picture, CommonDialog1.filename

    and ive also tried changing the AutoRedraw function. However none of these work properly.. i get the same results each time.

    Thanks in advance.
    Last edited by ParadoxMember; Mar 5th, 2003 at 12:01 PM.
    Sometimes the simplest things are the hardest...

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