Jpg Images displayed in Bound object Frames

  • Thread starter Richard W. (Rich) McCabe via AccessMonster.com
  • Start date
R

Richard W. (Rich) McCabe via AccessMonster.com

When using bound object frame in form bound to OLE object field in table I
used to be able to insert a JPG image of a wild flower and have the flower
displayed in the frame. Since the computer was worked on to remove a virus,
the bound object frame displays only an icon of the inserted flower. Double
clicking on the icon opens the jpg image in Photo Editor. This access
program has been installed on a total of three computers and has never failed
to display the actual image in the bound object frames until the virus work
was done. The computer shop indicated that access needed to be reloaded. I
gave them my access disk, and after reloading, the problem was not corrected.
Shop has no further ideas and has requested that I not come in again.

I need suggestions about what may have been changed in windows or access to
cause this problem and how to change things back!!!
Rich
 
R

Richard W. (Rich) McCabe via AccessMonster.com

NTC,
Thanks for the help. I made a new form with new bound object frames. I
tried inserting photos from the original directories as well as new photos in
new directories. In every case, the results were the same... the ugly icon
rather than the actual photo. I have also tried inserting Excel Charts and
Power Point slides both of which insert and show the sctual chart or slide.
There is something wrong with the way the Access program is now handling JPG
images.

Richard W. (Rich) McCabe
have you tried simply recreating a new control with this image? and delete
the old
When using bound object frame in form bound to OLE object field in table I
used to be able to insert a JPG image of a wild flower and have the flower
[quoted text clipped - 10 lines]
cause this problem and how to change things back!!!
Rich
 
N

NTC

well I don't think I've been much help....

if I read you correctly you state that you can insert some objects ok
(charts/slides) but not others - - and are concluding it is due to the file
type (i.e.jpg)

are both types images in the exact same location ?? you need to rule out the
path..put a jpg image in the same folder as Access and trial to see if it
will work.

which version of Access and OS??

double clicking on a jpg file directly with MyComputer launches PhotoEditor
ok??


Richard W. (Rich) McCabe via AccessMonst said:
NTC,
Thanks for the help. I made a new form with new bound object frames. I
tried inserting photos from the original directories as well as new photos in
new directories. In every case, the results were the same... the ugly icon
rather than the actual photo. I have also tried inserting Excel Charts and
Power Point slides both of which insert and show the sctual chart or slide.
There is something wrong with the way the Access program is now handling JPG
images.

Richard W. (Rich) McCabe
have you tried simply recreating a new control with this image? and delete
the old
When using bound object frame in form bound to OLE object field in table I
used to be able to insert a JPG image of a wild flower and have the flower
[quoted text clipped - 10 lines]
cause this problem and how to change things back!!!
Rich
 
R

Richard W. (Rich) McCabe via AccessMonster.com

NTC,
The JPG image, the EXCEL chart and the Power Point slide are all in the same
directory. Access is 2000 version. Excel and Powerpoint are slightly newer.
Double clicking JPG image didrectly launches fax and photo viewer. The key
in my mind is that something about windows or access was changed when the
virus was removed, but I can't find out what.

Richard W. (Rich) McCabe
well I don't think I've been much help....

if I read you correctly you state that you can insert some objects ok
(charts/slides) but not others - - and are concluding it is due to the file
type (i.e.jpg)

are both types images in the exact same location ?? you need to rule out the
path..put a jpg image in the same folder as Access and trial to see if it
will work.

which version of Access and OS??

double clicking on a jpg file directly with MyComputer launches PhotoEditor
ok??
NTC,
Thanks for the help. I made a new form with new bound object frames. I
[quoted text clipped - 15 lines]
 
N

NTC

am copy/paste in a MS article on this topic....seemed to have lost the url at
the moment:

SYMPTOMS
When you store an image file in a table as an OLE object in Microsoft Office
Access 2003, and then you try to display the stored image by embedding or by
linking the image file in a form, a report, or a data access page, you may
not be able to view the image. Additionally, you may notice that the file
icon displays the file name instead of the image itself.
Back to the top
CAUSE
This problem occurs because Access 2003 cannot find the OLE Server that can
correctly interpret the OLE object header information.
Back to the top
WORKAROUND
To work around this problem, use one of the following methods:
Back to the top
Install Microsoft Photo Editor
You can install Photo Editor from the Microsoft Office XP CD-ROM. To do
this, follow these steps:
1. Insert the Office XP CD-ROM in your CD-ROM drive or in your DVD-ROM drive.
2. If the Office XP Setup program does not start automatically, follow these
steps:
a. Click Start, and then click Run.
b. In the Run dialog box, type the following command in the Open box:

<CD Drive>:\Setup.exe
c. Click OK.

3. Follow the instructions in the Office XP Setup Wizard.

Make sure that you select the customized installation.
4. When you reach the Selecting Features step, set each node of the Setup
tree to Not Available.
5. Under Features to install, expand Office Tools.
6. Click Microsoft Photo Editor, and then click Run from My Computer.
7. Click Install Now.
8. Click OK when the Office XP Setup program is completed successfully.
Display the images from a folder
Instead of storing the images inside the table as OLE objects, you can store
the image file paths and the image names in the table and then display the
images by using an image control. When you use an image control inside a form
or a report, Access does not require the OLE Server to display the images in
the image control. For more information, click the following article number
to view the article in the Microsoft Knowledge Base:
285820 How to display images from a folder in a form, a report, or a data
access page
Back to the top
MORE INFORMATION
When you install Microsoft Office 2003, the Setup program removes all the
standard components from Office XP (such as Photo Editor) that you previously
had installed on your computer. As a result, Access 2003 cannot find the OLE
Server that can display an image file (such as a .jpg file or a .gif file),
and you cannot view the embedded graphic files or the linked graphic files.
Steps to reproduce the behavior
1.
Start Access 2003.
2. Open the Northwind.mdb sample database.
3. In the Database window, click Tables under the Objects section.
4. In the right pane, double-click Create table in Design view.
5. Create a table that is named TestImage with the following details:

Table: TestImage
Field Name: FldImage
Data Type: OLE Object
6. Open the TestImage table in datasheet view.
7. In datasheet view, right-click the FldImage field, and then click Insert
Object.
8. Select Create from File, and then click Browse.
9. Locate the .jpg image file. Select the .jpg image file, and then click OK.
10. Click OK.
11. On the File menu, click Close.
12. In the Database window, click Forms under the Objects section.
13. In the right pane, double-click Create form by using wizard.
14. In Form Wizard, select Table: TestImage from the Table/Queries drop-down
list.
15. Click >> to move all fields from the Available Fields list to the
Selected Fields list.
16. Click Finish.
17. If the form is not already open in form view, open the form in form view.

Notice that when you view the data in the table in datasheet view, the value
of the OLE object is shown as a package image or as a bitmap image.
Additionally, when you view the form that displays the OLE object in form
view, the embedded image file does not appear. However, you can see the file
icon for the image file that is embedded in the form.
________________________________________
APPLIES TO


Richard W. (Rich) McCabe via AccessMonst said:
NTC,
The JPG image, the EXCEL chart and the Power Point slide are all in the same
directory. Access is 2000 version. Excel and Powerpoint are slightly newer.
Double clicking JPG image didrectly launches fax and photo viewer. The key
in my mind is that something about windows or access was changed when the
virus was removed, but I can't find out what.

Richard W. (Rich) McCabe
well I don't think I've been much help....

if I read you correctly you state that you can insert some objects ok
(charts/slides) but not others - - and are concluding it is due to the file
type (i.e.jpg)

are both types images in the exact same location ?? you need to rule out the
path..put a jpg image in the same folder as Access and trial to see if it
will work.

which version of Access and OS??

double clicking on a jpg file directly with MyComputer launches PhotoEditor
ok??
NTC,
Thanks for the help. I made a new form with new bound object frames. I
[quoted text clipped - 15 lines]
cause this problem and how to change things back!!!
Rich
 

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