Page 1 of 1

save a bitmap

Posted: Thu Apr 26, 2007 10:54 am
by walleye3313
Hi,

i am stuck and wonder if you can help.

i am using Jr to draw a plot in a picture box using your sample code in VB6. i get exactly the plot i want. now i want to save that as a bitmap file and can't seem to make that work .

any ideas?

thanks
jerry

Posted: Thu Apr 26, 2007 2:11 pm
by DPlotAdmin
The easiest way is to grab a copy of the FreeImage DLL (http://freeimage.sourceforge.net/), which includes VB examples and is freely distributable.

If you'd rather roll your own... it's a bit involved, really too involved to lay it all out here. All of the source examples I have are in C, but you should be able to find what you need by Googling some combination of "VB save BMP".

Posted: Thu Apr 26, 2007 3:27 pm
by walleye3313
Thanks david,

i'll go that route.

jerry