Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> How to load an image into a BLOB in VBA

How to load an image into a BLOB in VBA

From: zorro <z_at_z.com>
Date: Tue, 28 Jan 2003 19:55:30 GMT
Message-ID: <SeBZ9.134770$Yo4.6414098@news1.calgary.shaw.ca>


Hello,

I would like to use Excel with a VBA script and OLE DB to load a list of images into Oracle 8.1.7.

I have a table like this

create table tmp_img (
 EMPNUM NUMBER(10) NOT NULL,
 IMAGE_PIC BLOB
)

and a 10,000 files on disk.

1.jpg
2.jpg
etc...(until 10000.jpg)

For each image, its filename is EMPNUM + '.jpg'

How could I create a VBA procedure to read and insert these images into TMP_IMG ? Thank you,

Denis Received on Tue Jan 28 2003 - 13:55:30 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US