OLE Image does not display

G

GrahamE

Why doesn't the picture show when you put a bound OLE
image field on a form? This is a single record form bound
to a local table.
I've read the countless msgs about using an image control
and using a path text field to show an image but I do not
wish to do that. I only have one image in the app and want
it bundled with the mdb file so that I can email the whole
database and not worry about the image file location.
It seems ludicrous to me that a product in it's 6-7th
version cannot do such a simple thing. I've been using
Access to design apps since v2 and have never needed to
embed an image until now!!!!
I'm running Office XP SP-2 on Windows 2000. The images can
be viewed successfully in mspaint.
 
S

Stephen Lebans

Graham whenever I read a post blaming Access's capabilities(or lack
thereof) 99% of the time it is the shortcomings of the user/developer
that are the issue, not those of Access. A successful developer must
learn how to search the MS KB and to effectively use GoogleGroups. The
vast majority of developmental issues regarding Access have already been
publicly posted and answered.

The problem is that you do not have on OLE server capable Image program
registered on your system to handle the Image type you are working with.
Whatever Image program you end up using would need to be installed and
registered to handle this Image type on each of your user's machines.
Too much hassle!
Instead, simply embedd the Image within the standard Image control on
any Form within your app. If you need to use the Image on multiple Forms
then at runtime do something like:
Forms!"FormNameWithBlankImageControl".NameOfyour
Imagecontrol.PictureData =
Forms!"FormNameWithEmbeddedImageControl".NameOfEmbeddedImagecontrol.Pict
ureData
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

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