By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,692 Members | 1,865 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,692 IT Pros & Developers. It's quick & easy.

Image not longer shows up in database record-windows reinstall

P: n/a
ken
I had to reinstall Windows 2000 Pro and of course Access 2000. I HAD
each record displaying a photo but now it does not show them. The
WEIRD thing is that when I upload the database to my website...the
image shows up! Is there a setting in Access that I need to chnage
because of the reinstall?

Thanks.

Ken
Nov 13 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a

"ken" wrote
I had to reinstall Windows 2000 Pro and
of course Access 2000. I HAD each record
displaying a photo but now it does not show
them. The WEIRD thing is that when I upload
the database to my website...the image shows
up! Is there a setting in Access that I need to
chnage because of the reinstall?


How were you displaying the images? There are a number of ways, and they
will differ between Access and any way you'd be displaying the image on a
website.

If you were storing them and displaying them as OLE Objects, perhaps you now
no longer have a COM-automation-enabled image processing/display program
registered for that image file type.

Here are some references that might help.

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
Nov 13 '05 #2

P: n/a
There is an image frame (named "ImageFrame") on the form. The picture
type is "Linked". The image path is stored in the "ImagePath" field in
the table. The event for ImagePath is:

Private Sub ImagePath_AfterUpdate()
On Error Resume Next
MyPath = "E:\Programs\CFusionMX\wwwroot\Starsigners\h5zrig1 u\"
Me![ImageFrame].Picture = MyPath & Me![ImagePath]
End Sub

It was working fine until I had to reinstall Windows AND Access.
I copied all the files from one hard drive to another, BUT it is the
still the SAME drive letter now.

E:\Programs\CFusionMX\wwwroot\Starsigners\h5zrig1u \

How would it know the difference?

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #3

P: n/a
If you haven't already, put a breakpoint in your code and look to verify
that the path being set is actually the path you think it is. That is the
only thing I have observed that would cause the effect you describe --
that's not to say that there couldn't be another cause, as well, of course.

Larry Linson
Microsoft Access MVP
"Ken M" <ne***********@hotmail.com> wrote in message
news:40**********************@news.newsgroups.ws.. .
There is an image frame (named "ImageFrame") on the form. The picture
type is "Linked". The image path is stored in the "ImagePath" field in
the table. The event for ImagePath is:

Private Sub ImagePath_AfterUpdate()
On Error Resume Next
MyPath = "E:\Programs\CFusionMX\wwwroot\Starsigners\h5zrig1 u\"
Me![ImageFrame].Picture = MyPath & Me![ImagePath]
End Sub

It was working fine until I had to reinstall Windows AND Access.
I copied all the files from one hard drive to another, BUT it is the
still the SAME drive letter now.

E:\Programs\CFusionMX\wwwroot\Starsigners\h5zrig1u \

How would it know the difference?

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 13 '05 #4

P: n/a
"Ken M" wrote in message news:40**********************@news.newsgroups.ws.. .
There is an image frame (named "ImageFrame") on the form. The picture
type is "Linked". The image path is stored in the "ImagePath" field in
the table. The event for ImagePath is:

Private Sub ImagePath_AfterUpdate()
On Error Resume Next
MyPath = "E:\Programs\CFusionMX\wwwroot\Starsigners\h5zrig1 u\"
Me![ImageFrame].Picture = MyPath & Me![ImagePath]
End Sub

It was working fine until I had to reinstall Windows AND Access.
I copied all the files from one hard drive to another, BUT it is the
still the SAME drive letter now.

E:\Programs\CFusionMX\wwwroot\Starsigners\h5zrig1u \

How would it know the difference?

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 13 '05 #5

P: n/a
I reinstalled the text and graphics filters in Office 2000 and that
solved the problem! Thanks for all of your help!

Ken

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.