Click to See Complete Forum and Search --> : Save Changes


ant
August 4th, 2001, 03:58 PM
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:
christopherfolger@hotmail.com

deghost
August 5th, 2001, 09:18 AM
I suppose that:

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




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

ant
August 6th, 2001, 04:46 PM
That doesn't save changes

--Ant
--------------------------------------------------
Create rollover effects in no time!, visit:
http://members.fortunecity.com/ants12/cfrolloverwiz.html
Or email me:
christopherfolger@hotmail.com

Cimperiali
August 7th, 2001, 02:30 AM
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/kb/articles/q161/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