CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Save Changes

  1. #1
    Join Date
    May 2001
    Posts
    155

    Save Changes

    I have a program that opens a picture, and then removes certain colors, then puts it into another picture box. How do i make it so that, when the user tries to save the filtered picture, it saves the changes?

    --Ant
    --------------------------------------------------
    Want a javascript Editor? Visit:
    http://members.fortunecity.com/ants12/jeditdload16.htm
    Or email me:
    [email protected]

  2. #2
    Join Date
    Jun 2001
    Location
    Israel
    Posts
    228

    Re: Save Changes

    I suppose that:

    SavePicture Picture2.Picture, "C:\mypic.bmp"




    ----------
    The @host is everywhere!
    ----------

  3. #3
    Join Date
    May 2001
    Posts
    155

    Re: Save Changes

    That doesn't save changes

    --Ant
    --------------------------------------------------
    Create rollover effects in no time!, visit:
    http://members.fortunecity.com/ants1...lloverwiz.html
    Or email me:
    [email protected]

  4. #4
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Save Changes

    If you find no other way, you may use this trick: capture the picturebox last image using the Capture Client function described in this link
    http://support.microsoft.com/support.../2/99.asp?FR=0
    (or capture it with any other function/program that return a picture object). Then use the save picture method on this new object.


    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris
    and all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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

Featured