"Roman Kagan" wrote
I am successful in retrieving the image
from the table (.TIF), however, the
retrieved file does not work. It looks
like an image file - extension, size
and all, but the image is not visible.
Any ideas? I'm including the first
few lines (image opened with Notepad)
of the file below.
Analyzing binary files that have been opened with a text editor isn't likely
to be very productive. If someone is to be able to offer worthwhile
suggestions, you are going to have to clarify with some detail what you
have, how you retrieved it, how you are attempting to display it, etc.. But
as a general start... the following may be of some 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.zi p 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