On Thu, 10 Jun 2004 15:12:55 -0500, "TIML" wrote:
¤ OLE Field
¤
¤ "Paul Clement" wrote in message
¤
¤ > On Thu, 27 May 2004 09:54:27 -0500, "TIML" wrote:
¤ >
¤ > ¤ I have the following code that runs after a sql string to insert a
¤ picture
¤ > ¤ into a picturebox that is stored in an Access table as an OLE image. I
¤ keep
¤ > ¤ getting "invalid picture". I am using VB6 and Access 2000.
¤ > ¤
¤ > ¤ frmA.picLabel1.Picture = rs1("picture")
¤ > ¤ frmA.picLabel2.Picture = rs1("picture2")
¤ >
¤ > You can't access an object stored in an OLE field directly this way.
¤ >
¤ > How are you storing the data in the OLE field? Code?
If it was stored with the OLE Control then you should be using the OLE Control to display the
picture.
How was the data saved to the OLE field? OLE Control? AppendChunk?
Paul ~~~ pclement.RemoveThis@ameritech.net
Microsoft MVP (Visual Basic)
>> Stay informed about: Insert Picture from Access