I have an Access 97 database with an OLE Type field containing bitmaps loaded with the LoadPicture() function. This works fine and the images turn up as “Bitmap Image” when you look at the table’s datasheet within Access.
Using VB5 and RDO I want to load the data into a class and display it on a form. Everything I try fails! The datatype of the class property is variant. I’ve tried shoving the data into an Image, Picturebox, OLE, RTF, Clipboard even RTF OLE Embedded Object! All fail.
Here’s one very simple solution to your problem, you might want to consider keeping the picture in an external file and storing the path to the file in the database.