Results 1 to 6 of 6

Thread: Saving Bitmaps

  1. #1

    Thread Starter
    Hyperactive Member psycopatchet69's Avatar
    Join Date
    Sep 2004
    Location
    Grand Rapids, MI
    Posts
    256

    Saving Bitmaps

    How do i save the picture inside a picturebox as a .bmp?
    I need to know for my Map editor.

    Oh, and another simple question, How exactly do MDI forms work? Ive never had the need for one, until now, and insted of spending forever trying to figure out how to show other forms in it, I though I'd Just ask.
    Last edited by psycopatchet69; Dec 1st, 2004 at 09:43 PM.

  2. #2

    Thread Starter
    Hyperactive Member psycopatchet69's Avatar
    Join Date
    Sep 2004
    Location
    Grand Rapids, MI
    Posts
    256
    Come on, anyone?

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    Code:
    SavePicture Image, "Test.bmp"
    Should do the trick.

  4. #4

    Thread Starter
    Hyperactive Member psycopatchet69's Avatar
    Join Date
    Sep 2004
    Location
    Grand Rapids, MI
    Posts
    256
    No, it tells me "Object Required"

  5. #5

    Thread Starter
    Hyperactive Member psycopatchet69's Avatar
    Join Date
    Sep 2004
    Location
    Grand Rapids, MI
    Posts
    256
    Oh, nevermind, i guess my computer was just acting up as usual, because i tried it now and it works.

    CAn you help me with how to display form in the MDI form?

  6. #6
    Software Eng. Megatron's Avatar
    Join Date
    Mar 1999
    Location
    Canada
    Posts
    11,286
    Do display a Form in an MDIForm, set the child Form's MDIChild property to True.

    And to save a picture, specify the object name to avoid the "Object Required" (which will route to the Form's property)
    Code:
    SavePicture Picture1.Picture, "Test.bmp"

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