Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Posts
    10

    Red face Unanswered: how to retrieve data from access database to picture control in vb6

    hi
    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.
    Last edited by nshaikh; 10-06-03 at 10:58.

  2. #2
    Join Date
    Oct 2003
    Posts
    1

    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 .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •