--
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!
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
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...