save a bitmap

Q&A for Visual Basic, Visual Basic .NET, and PowerBasic developers using DPlot
Post Reply
walleye3313
Posts: 28
Joined: Sat Jun 04, 2005 9:00 am

save a bitmap

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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".
Visualize Your Data
support@dplot.com
walleye3313
Posts: 28
Joined: Sat Jun 04, 2005 9:00 am

Post by walleye3313 »

Thanks david,

i'll go that route.

jerry
Post Reply