VB5 - Bound PictureBox Control
Posted on 1997-10-27
I have noticed the properties for a picturebox control that allow the programmer to bind it to a recordset control (datafield and datasource). I have a sample database (Access version 2) with a table containing a field of type "Ole Object" containing bitmap data.
I thought that if I bound a picture box to this field in a recordset that it would display the image stored in the database when moving throughout the dataset. I was wrong.
What can you do realistically with the datafield and datasource properties of a picturebox? In other words, what is the intened use of these properties? Is there an way to bind a picture box control to a database containing images so that when moving through the dataset, you can easily browse the images in the database?