March 4th, 2003, 01:52 AM
Setting PictureBox image from Access Ole object field
I have an Access database which one of it's tables contains an OLE object field that holds pictures.
I'm trying to load these pictures (one at a time) to a PictureBox control.
I've tried to do it through the Picture (IPictureDisp) property but I get a 'Type Mismatch' error.
Help would be appreciated
March 4th, 2003, 07:44 AM
I think you should use the Bound Object control and set the Control Source to the field.
Last edited by derrickatdev; March 4th, 2003 at 07:47 AM.
March 4th, 2003, 07:52 AM
I'm loading the control from an object, not directly from the database (in the object the picture is held in an Object variable).