PictureBox won't bind to OLE Object image field 
Author Message
 PictureBox won't bind to OLE Object image field
I have an ADODC control with some text boxes and 1 picturebox bound to a
field called 'Image' in an access db. In access I made the image field an
OLE Object field and inserted a bitmap into it from file.

I know that the ADODC connection is OK because when my form loads the
textboxes correctly display the text fields they are bound to.

However I get the error "Unable to bind to field or datamember: 'Image' "
and the image is not displayed in the picture box. I set the
picturebox.dataformat to be 'picture' at design time but after the error
appears I look at the properties and it is reset to nothing.

Dan Murray



Sun, 15 Dec 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. OLE Bound control won't bind ADO source

2. OLE Bound control won't bind ADO source

3. OLE Bound control won't bind ADO source

4. Binding a PictureBox to a SQL image field

5. BMP's over 100k won't load into an OLE field

6. DTPicker won't bind to an Access DB date field

7. BIND TO A ACCESS OLE OBJECT FIELD

8. VBA-assigning an OLE-object to an Ole-object-field

9. Extract Image out of OLE Object Field to Filesystem

10. Store file as OLE-object in image-datatype field

11. Images in Ole Object field

12. Images in OLE Object Field

 

 
Powered by phpBB® Forum Software