473,413 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Image not longer shows up in database record-windows reinstall

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
5 1577

"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
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
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
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Scott | last post by:
I am storing an image in an SQL database and have one field as an image datatype. I am also using a webservice to transport data. I want to be able to resize the image and pass back a thumbnail...
3
by: Ken | last post by:
I have a win 2000 database of autographs and scanned photos. They are in the SAME directory. In the table, my "ImagePath" text field shows JUST the image name (i.e. "blank.jpg"). I have an image...
10
by: mattmerc | last post by:
Hi all, I posted this about a week back with no response so I want to try again. I have a weird questions in regards to working with sql image data types. I know how to take the image type and...
35
by: Stan Sainte-Rose | last post by:
Hi, What is the better way to save image into a database ? Just save the path into a field or save the image itself ? I have 20 000 images (~ 10/12 Ko per image ) to save. Stan
5
by: Mark | last post by:
Hi there This is a site i am working on: http://www.keyone.nl/lab/grunopark/basis2.asp On the left is a background image. On it is some text. The picture is longer then you can see. It...
1
by: wdw1970 | last post by:
Hello Everyone! This is my first post to the forum. --------------------------------------------------------------------------------------------- In my database, I have a continuous...
7
by: needin4mation | last post by:
Hi, I have an Access 2002 - 2003 database. I am using Access 2003. Whenever I link an image all it shows is the filename. Not the image. Other versions of Access can link the image just fine. ...
3
by: den 2005 | last post by:
Hi everyone, Here is code working on..Trying to insert record with a column with Image or VarBinary datatype in sql database from a existing jpeg image file, then retrieve this image from...
2
by: Ryan | last post by:
I have a very basic form that has controls bound to a SQL 2005 database for an Employee Directory. I'm using a PictureBox control to bind to the "Photo" field which is of datatype image. However,...
2
by: Tarik Monem | last post by:
OK! I've gone through a few tutorials and I cannot understand what I'm doing wrong casting_registration.php <table> <tr> <td> <form enctype="multipart/form-data" action="thankyou.php"...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.