|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Setting PictureBox image from Access Ole object field
I have an Access database which one of it's tables contains an OLE object field that holds pictures.
I'm trying to load these pictures (one at a time) to a PictureBox control. I've tried to do it through the Picture (IPictureDisp) property but I get a 'Type Mismatch' error. Help would be appreciated |
|
#2
|
|||
|
|||
|
Hi,
I think you should use the Bound Object control and set the Control Source to the field. Bye ...
__________________
:-) Last edited by derrickatdev : March 4th, 2003 at 06:47 AM. |
|
#3
|
||||
|
||||
|
I'm loading the control from an object, not directly from the database (in the object the picture is held in an Object variable).
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Setting PictureBox image from Access Ole object field |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|