Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem using Read method to get Image from BLOB

Status
Not open for further replies.

vovan1415

Programmer
Dec 6, 2001
50
US
I am trying to use OO4O to get image data from Oracle8i. The data is stored as BLOB in one of the tables. OO4O suggests two ways to get images - by using Read or CopyToFile method. CopyToFile works just one, creates "bmp" file, that could be later viewed in our VB6 front-end application. When I am trying to use Read method on the entire BLOB (the images are relatively small) and then store it in "bmp" file, the file format apparently changes. I can't open it as "bmp" anymore.
Although documentation suggests that Read method could be used for BLOBs, CLOBs, and BFiles, it probably works only for text data, CLOBs.

Can anyone suggests where to find more info on ORABLOB. Read method?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top