Load OLE Bitmap From access Databse into a VB6 application

Ok, I'm using a ADOdc object on my form to link to a access database, I in one of my tables there is a field that contains a OLE Bitmap. How can i link it to an picture/image object on my form?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ok in VB The OLE control can display such a field but can not be bound to the ADO control, instead the OLE control must be bound to the intrinsic Data control. Basically put a Data control your form and set its DataBaseName property to the name of your database and its RecordSource property to the table with the pictures. Then put an OLE object on your form and set its DataSource property to the name of your Data Control and its dataField property to the name of the table with the picture. Then write some code to synchronize your Data control to your ADO control. Hope this helps.    

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MICSAuthor Commented:
I had thought about that, But i find it to messy.

If i was to take the ado object using the following code, it woudl return the bitmap image. Is there anyway to then use what it returns (a bitmap file) and assign it to a picturebox, imagebox, or draw command?

MICSAuthor Commented:
What is the differenec between the 'Data' object in VB and the 'ADOdc' object???
This old question (QID 20565664) needs to be finalized -- accept an answer, split points, or get a refund.  Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.