Re: Displaying Images on a Form

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"CEV" <chadv@xxxxxxxxxxxxxx> wrote

I got it. On step 2 I forgot to name the control
"ImageFrame". Now it is showing the picture,
but only a portion of it. I will gues that I need to
resize the picture? Then I can try it out on my
actual database. Is there anything I should be
aware of?

In that Bound Object Frame's Properties, under the Format tab, set the
SizeMode to Zoom.

If you should tire of putting yourself at the mercy of whatever image
processing software the user has registered for the file type, 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


.



Relevant Pages

  • Re: Displaying Images on a Form
    ... Now it is showing the picture, ... If you are printing the images in reports, to avoid memory leakage, you ...
    (microsoft.public.access.forms)
  • Re: picture wont print
    ... >> link to a picture. ... >does not play well with reports. ... >control to a Bitmap file prior to printing. ...
    (microsoft.public.access.reports)
  • Re: picture wont print
    ... > preview, the picture shows fine, but when I hit print, it ... does not play well with reports. ... If you are printing the images in reports, to avoid memory leakage, you ... control to a Bitmap file prior to printing. ...
    (microsoft.public.access.reports)
  • Re: Pictures in Forms
    ... > display the picture. ... If you are printing the images in reports, to avoid memory leakage, you ... the Access formatting process prior to being spooled to the Printer Driver. ... Memory" error that can popup when printing image intensive reports. ...
    (microsoft.public.access.forms)
  • Printing Text Over Graphics
    ... I need help with printing text. ... I have sent a picture from a picture box to the printer. ... showing the image through the text as expected. ... I suspect I have changed something in my code or somewhere else as I have tried doing exactly the same thing from a simple new application and it works as expected. ...
    (microsoft.public.vb.com)