File Icon Instead of picture

B

BarbaraKiwi

I am trying to insert a picture into a form. On one computer it works fine
-as a link or a picture. On another computer it inserts a file icon not the
picture. Both computers are running Access 2003 & Windows XP
 
D

Domac

That is because report is trying to locate file using path from your local
computer.

C:\Pictures\Picture.jpg on your computer probably doesn't exitst another
computer.

Did you set Picture property from code??

If you are then dislocate picture file to some network resource and link to
that path.
But, if you insert your picture using toolbox when designing report , watch
out for "Picture type" property of Image object.

"Embedded" means that picture data will be stored in your application ,
"Linked" means that picture will be located every time you run report
(dynamic use) on location you defined in Picture property of image object.

So, my suggestion would be to set Picture type property to Embedded.

Best regards,
Domagoj
 
B

BarbaraKiwi

This issue happens with a 'new Database' all the picture files are located on
the same computer. When I click the file icon Microsoft Picture Manager
launches and I can see the picture. On the 'problem' computer 'package'
appears in the picture field of the table. On the 'ok' computer 'Bitmap
Image' appears in the Picture field. It is something to do with the OLE
server but that is the extent of my knowledge
 
B

bob

Make sure the ‘Associated File Type’ is the same on both machines:

On the Working machine:

Open Windows Explorer.
Click ‘Tools’ -> ‘Folder Options’.
Select the ‘File Types’ tab.
Click ‘New’.
Type the extension that is causing the problem (eg ‘bmp’).
Click ‘Advanced’.
Make a note of the ‘Associated File Type’, then cancel the dialog.


Do the same on the ‘problem’ machine – if the associated file type is different change it to be the same
as on the working machine then click ok (and accept the ‘Extension is in Use prompt).


--
_______________________________________________________
DBPix 2.0: Add pictures to Access, Easily & Efficiently
http://www.ammara.com/dbpix/access.html
 
B

BarbaraKiwi

Thank you. I will take the 'good' computer with me on Monday and set it
beside the 'bad' computer and compare all possible settings that might be a
problem. Will be back if it does not work!!
 

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