Unanswered: how to retrieve data from access database to picture control in vb6
i am working on a project where i have to connect the picture or any picture control in vb6 to the access database, but it is not retriving the data from the database, and giving me error, can anyone help me out by sending the code which i can use.I need it ASAP! as the project dead line is arriving.thanks in advance.
how to retrieve data from access database to picture control in vb6
The field in the access database must be OLE type, and your image must be stored as binary data, the format of your stored image would be gif, dib,bmp, jpg or any that its supported by the picture control that you use (picture box or image control).
In VB, On the properties of the selected control in the datafield property set the name of the OLE field .