OLE Object. Not imbedding pics

G

Guest

Hello.
I am using Access 2000 and Access 2002 and I am having trouble embedding
pictures into the database.
I have created a table with a couple of text fields and an OLE Object field.
Then I created a form and added the text fields and the OLE Object field,
then I right clicked on the OLE Object field and clicked on "Insert Object",
then "Create from file", then I browsed for the pic and clicked OK twice but
then instead of bringing in the picture so that I can see it on the form it
only shows the file name. How do I change this so that when I go from record
to record on the form I can see the corresponding picture and not the file
name i.e. 100_1796.jpg
What am I doing wrong?
Your help is greatly appreciated.

Iram/mcp
 
L

Larry Linson

I am using Access 2000 and Access 2002
and I am having trouble embedding
pictures into the database.

I am not going to try to debug your problem remotely, but caution that when
you use OLE objects and Bound OLE frames, you are "at the mercy" of whatever
COM-enabled graphics software you have registered on your machine for that
image file type. And, offer the following which some have found helpful:

The sample imaging databases at http://accdevel.tripod.com illustrate three
approaches to handling images in Access, and the download includes an
article discussing considerations in choosing an approach. Two of the
approaches do not use OLE Objects and, thus, avoid the database bloat, and
some other problems, associated with images in OLE Objects.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.

Larry Linson
Microsoft Access MVP
 
G

Guest

Hello Larry. I ran accross a MS document explaining why the name appears
instead of the picture. If you are using Access 2000/XP you need to install
Microsoft Photo Editor, if you are using Access 2003 it doesn't have
Microsoft Photo Editor so you need to rename the .jpg to .bmp.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top