Link to home
Start Free TrialLog in
Avatar of CGIAMETTA
CGIAMETTA

asked on

Loading Field of type 'OLE Object' in Picture control

I have a database of 100 pictures. I want to build my own custom picture browser, to do this I need to retrieve an OLE Object picture from the database and put it into a unbound picture control.  How can I do this?

Tony....
SOLUTION
Avatar of Benjamin Lu
Benjamin Lu
Flag of China image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CGIAMETTA
CGIAMETTA

ASKER

Before posting this quesiton, I found all kinds of solutions the same as yours.  I need a solutions that won't take the time or overhead writing to a file and reading the file to the picture control.  It does'nt even make sense to do that, surely there is a way to read it from the database ole object right into a picture control or into a variable then to a picture control.  I'll use this solution if I have to, but I am hoping to get code for what I am asking for.

Tony...
Is this an Access front end and back end?
If so here are a couple of links...

Here's a few links for you
http://support.microsoft.com/default.aspx?scid=kb;en-us;285820&Product=acc2003

one from Candace-Tripp with a small sample app
http://www.candace-tripp.com/_pages/access_downloads.asp#18

Here's a really good sample - (DownloadFiles/PictureBoxA2K)
http://www.lebans.com/toc.htm


Cheers
Michael
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial