Re: Storing/Retrieving BMP bitmaps using VB and Oracle

From: Shaggy D <shaggyd_at_aol.com>
Date: 18 Mar 1995 13:25:52 -0500
Message-ID: <3kf8jg$d2t_at_newsbf02.news.aol.com>


Kyp wrote:
>I have an application in which I wuould like to be able to retrieve
>BMP bitmaps from an Oracle 7.0 table. It appears that the Oracle
>LONG datatype is able to hold the bit map but I'm at a loss as to how
>to insert the bitmaps and how to retreive the bitmaps in my VB app.
 

>Has anyone done this or have any ideas about how to accomplish this?
 

>Kyp

In VB you can use Oracle Objects for OLE VBX to setup a dynaset and use the AppendChunk method to add your .BMP files to a LONG RAW column for a table. I've successfully done this. Then, when you want to get the information out, you use the GetChunk method and write the output to a file.

If you want a code example just e-mail me at eric_dirst_at_notes.bsginc.com

hope this helps
Eric Dirst
BSG Alliance/IT
alt. address: eric_dirst_at_notes.bsginc.com

Any opinions expressed here are not necessarily the opinions of my employer. Received on Sat Mar 18 1995 - 19:25:52 CET

Original text of this message