Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: display image problem

1 view
Skip to first unread message

Stephen Lebans

unread,
Jun 7, 2005, 7:00:04 PM6/7/05
to
The Access Runtime does not contain the Graphics filters that are part
of the normal Full Access or Office installation.
For a workaround see:
http://www.lebans.com/loadjpeggif.htm

--

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


"Diana Criscione" <DianaCr...@discussions.microsoft.com> wrote in
message news:6DEF37DC-70F5-49A5...@microsoft.com...
> I have an application that has a form with code that allows the user
to
> choose pictures to add to the database (file path only) and then
display the
> selected image on the form. I am using the API code from the Access
Web as
> suggested by many MVPs on this forum to allow the user to select the
picture
> file. It works beautifully for this app but we recently ran into a
strange
> situation.
>
> I am using InstallShield Express to create an installation for my app
and
> have included the Access Runtime, DAO 3.6, and ADO 2.5 as required by
my
> references in the app. However, the user's machine must have IE in
order to
> operate another portion of my app where I am using a browser control,
but I
> am not including that in my installation.
>
> We recently installed the app on a Windows machine that did not have
any
> Office products on it (instead it had WordPerfect) but did have IE.
The
> problem was that the pictures would no longer display on the form. We
could
> get the open dialog to select a picture but the image would never
display.
> We then installed the app on three other machines (which had Office
products
> on them) and the app worked fine.
>
> Am I missing some library that should be included in my installation
in
> these circumstances? What would cause this oddity?
>
> Thanks for any help!

Diana Criscione

unread,
Jun 8, 2005, 10:09:04 AM6/8/05
to
Thank you so much!! I will give this a try!

Diana Criscione

unread,
Jun 13, 2005, 4:21:51 PM6/13/05
to
Stephen,

I've had a chance to look at your sample and I'm a bit confused. As far as
I can tell, the code is only calling the GDI+ when trying to display TIF or
PNG files. The code to display JPG or GIF is just using the LoadPicture
function. The files we were having trouble with were all JPG files. Am I
missing something? I apologize for being dense here.

Thanks again in advance!
Diana

Stephen Lebans

unread,
Jun 13, 2005, 7:57:13 PM6/13/05
to
As it states on the Web page, you only need to use the GDI+ version if
you are loading TIF files. It also mentions that the GDI DLL is an
integral part of WIndows XP.

What exactly is your issue with my code?

--

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


"Diana Criscione" <DianaCr...@discussions.microsoft.com> wrote in

message news:DF17D960-350A-47E2...@microsoft.com...

Victor Torres

unread,
Feb 13, 2007, 8:04:01 AM2/13/07
to
Hi Stephen. Before I ask you what I need I want to say that I beleive that
you are one of the greatest Access master here. Saying this I just want to
know how can I use the http://www.lebans.com/loadjpeggif.htm to record the
picture in a database. Thanks for your help.
0 new messages