Avatar of COHFL
COHFL
Flag for United States of America asked on

Extract OLE Object from an MS Access database

Hi there,
I been looking for a free utility that allows me to extract OLE Objects from my access database but i'm running into a problem. When the OLE Objects appear on my database as MSpHOTOeD.3 it gets extracted as a bmp which is fine. The problems occurs when i extract a file that shows the name Picture. Nothing gets extracted and i need to make sure i get this Objects. The utility i'm using is this: http://www.lebans.com/oletodisk.htm does anyone knows another utility that allows me to extract all the Objects on my table?
Thanks,
COHFL
Microsoft Access

Avatar of undefined
Last Comment
COHFL

8/22/2022 - Mon
puppydogbuddy

Lebans has an updated verson released 07/23/2009 which should have corrected most of he bus in the earlier release.
               See   http://www.lebans.com/oletodisk.htm
COHFL

ASKER
That link is the same link i put on my post =(
puppydogbuddy

If the new release has the problem you described, Picture may be a reserved word.  Why can't you just rename the OleObject in your table to Photo or something similar?
Your help has saved me hundreds of hours of internet surfing.
fblack61
COHFL

ASKER
How can you rename that? it is the object name how can i rename it?
puppydogbuddy

????
Place your Access table in design view, go down to the ole object field, rename it and save.
COHFL

ASKER
puppydogbuddy I'm sorry if what i'm about to write is not what you want to see but do you have any clue what i'm asking here?

It has nothing to do with the data type, it is set to OLE Object. Hence the format of the that Ole Object can be different. Aside from MSPhotoEd.3 can be Picture, Word Document, pdf, VSD, PPT and soon on... once the OLE Object is present on the database meaning on the table you can export it to the format stored. It can not be renamed or alter after is there.  
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
puppydogbuddy

OK, now I understand. you want to extract the MsPhotoEd.3 object it its native format from the program it was created, and Lebans has not provided support for the MSPhotoEd.3 object.  That is not what you said in your original post.  
COHFL

ASKER
ok Lebans supports MSPhotoEd.3 what he does not support is Picture.
puppydogbuddy

See this Link:
                http://www.sobolsoft.com/accessimage/

Before using, you should contact the vendor and make sure the product supports extraction for the objects you need.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
COHFL

ASKER
It does not work everything gets extarcted as a dmp. i already try it
puppydogbuddy

Have you looked into MS ACCESS 2007 at all?  It supports compressed storage of images in their native format on a go forward basis.  Existing images remain as ole object  type.
see this link  http://blogs.msdn.com/access/archive/2006/04/25/better-looking-forms-reports-faster.aspx
COHFL

ASKER
MS Access 2007 does not work! it works only if you start fresh using it not for older mdbs.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
puppydogbuddy

Just double checking:
1. Lebans says "It (his ole to disk utility) will work for any Image file format that you can see a preview for within a Bound/Unbound OLE Frame control". And you can not see a preview of the PhotoEd3 picture object within a Bound/Unbound OLE Frame control?

2. Did Lebans code extract the target ole object to disk in any file format or did it bypass the target ole object entirely?  The reason I ask is that there are file converters that will convert an EMF (enhanced meta file format), for example, to the desired format.
           freeware image format converter:  http://www.irfanview.com/
COHFL

ASKER
bypass the target ole object entirely
COHFL

ASKER
does this tool reads access databases and extract images?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
puppydogbuddy

No, does not convert OLE....but I may have found a solution for you.  See if you can work with the code provided in the second link below:

see this link:
        http://jvdveen.blogspot.com/2009/01/ole-and-accessing-files-embedded-in.html
        http://jvdveen.blogspot.com/2009/02/ole-and-accessing-files-embedded-in.html
jjafferr

Have a look at this post,
Jim Dettman have made a little program to do this,
you can email him, and he'll send you a copy (I did a while ago, and I got it).

https://www.experts-exchange.com/questions/20710263/Extracting-Images-from-object-field.html#9168456

jaffer
jjafferr

this is an abstract from that link:

JDettman said:
"What kind of images are they?  I have a small sample MDB that will do .BMPs.  The technique used can be adapted to other types"

jaffer
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
COHFL

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.