Problem Displaying images on forms in Access 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have actually gotten the images to display by having the path to the jpg in
a text field in the record and using VBA to display the jpg.

The problem I am having is that if I change records (using the navigation
buttons) I get a brief pop-up message about linking records. Is there a way
to stop this from popping up?

Thanks a bunch!
Connie
 
Use the Registry Key modification here:
http://www.mvps.org/access/api/api0038.htm

-Q) Instead of storing the images in a table, I'm now string the path
and filename of the files in a table, and using the Image control.
However, I don't want the "Loading Image" dialog to come up. How can I
hide this dialog?

(A) The "Loading Image" dialog is popped up by the filter that's
processing the image. We don't have any direct control over it.

There are two ways to prevent the dialog from coming up.

By changing a registry setting emailed to me by Klaus Oberdalhoff.
HKEY_LOCAL_MACHINE\Software\Microsoft\ Shared Tools\Graphics
Filters\Import\JPEG\Options

Change the ShowProgressDialog key value to "No".

-

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
That makes sense, but this is a multiuser database. Is there a way to do this
for anyone that uses the database other than 1 PC at a time?

Thanks a bunch!
Connie
 
You could programmatically create the desired Registry Key from code
that you run in the form's Load event as this key must exist on each
workstation.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
I did this, but I still see the notice pop-up and then disappear (very
quickly). Is this about as good as it gets right now?

Also, we are currently on a Novell Server, using the Novell Client for
Windows if that makes any difference.

Thank you for your patience.
Connie
 
No Connie. If you have the key set for the correct profile then you will
not see the Loading Image dialog at all.
Read this thread to understand where you have to make the changes int he
registry.
http://groups.google.com/groups?hl=en&lr=&threadm=#$#vULvcEHA.2944
%40TK2MSFTNGP11.phx.gbl&rnum=3&prev=/groups%3Fnum%3D100%26hl%3Den%26lr%3
D%26scoring%3Dd%26q%3Dlebans%2B-ECKANKAR%2Bregistry%2Bkey

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
OK, I got this part working. Now I am trying to convert the OLE objects into
jpgs on the disk. I am trying to use the ExportOLEtoJpegVer15.mdb. I keep
getting the following error:

IJL ERROR: [-10] - Failed to save tp JPG.

Does anyone have any ideas on this? Thanks a bunch for your help!!
____________
 
It means Connie that you have not followed the Step By Step
instructions.

In Step #4 you are directed to "Select a Field to Name the exported
files". I don't know what is wrong with the wording of these
instructions but for some reason many people are selecting the OLE field
here.
Instead, select a field that contains text or numbers that can be used
to generate a NAME for the exported JPEG files.

--

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


ConnieN said:
OK, I got this part working. Now I am trying to convert the OLE objects into
jpgs on the disk. I am trying to use the ExportOLEtoJpegVer15.mdb. I keep
getting the following error:

IJL ERROR: [-10] - Failed to save tp JPG.

Does anyone have any ideas on this? Thanks a bunch for your help!!
____________
ConnieN said:
Setting for the "Current User" worked.

Thanks so much for your help!
Connie
 
It worked like a charm! Thank you so much for your patience.

As for the instructions, maybe it should say something "select a
corresponding TEXT field to use as the name" and then only list non-OLE
fields.

Anyway, thanks again! Have a great new year! :0)

Stephen Lebans said:
It means Connie that you have not followed the Step By Step
instructions.

In Step #4 you are directed to "Select a Field to Name the exported
files". I don't know what is wrong with the wording of these
instructions but for some reason many people are selecting the OLE field
here.
Instead, select a field that contains text or numbers that can be used
to generate a NAME for the exported JPEG files.

--

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


ConnieN said:
OK, I got this part working. Now I am trying to convert the OLE objects into
jpgs on the disk. I am trying to use the ExportOLEtoJpegVer15.mdb. I keep
getting the following error:

IJL ERROR: [-10] - Failed to save tp JPG.

Does anyone have any ideas on this? Thanks a bunch for your help!!
____________
ConnieN said:
Setting for the "Current User" worked.

Thanks so much for your help!
Connie

:

No Connie. If you have the key set for the correct profile then you will
not see the Loading Image dialog at all.
Read this thread to understand where you have to make the changes int he
registry.
http://groups.google.com/groups?hl=en&lr=&threadm=#$#vULvcEHA.2944
%40TK2MSFTNGP11.phx.gbl&rnum=3&prev=/groups%3Fnum%3D100%26hl%3Den%26lr%3
D%26scoring%3Dd%26q%3Dlebans%2B-ECKANKAR%2Bregistry%2Bkey

--

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


I did this, but I still see the notice pop-up and then disappear (very
quickly). Is this about as good as it gets right now?

Also, we are currently on a Novell Server, using the Novell Client for
Windows if that makes any difference.

Thank you for your patience.
Connie

:

You could programmatically create the desired Registry Key from code
that you run in the form's Load event as this key must exist on each
workstation.

--

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


That makes sense, but this is a multiuser database. Is there a way
to
do this
for anyone that uses the database other than 1 PC at a time?

Thanks a bunch!
Connie

:

Use the Registry Key modification here:
http://www.mvps.org/access/api/api0038.htm

-Q) Instead of storing the images in a table, I'm now string the
path
and filename of the files in a table, and using the Image
control.
However, I don't want the "Loading Image" dialog to come up. How
can
I
hide this dialog?

(A) The "Loading Image" dialog is popped up by the filter that's
processing the image. We don't have any direct control over it.

There are two ways to prevent the dialog from coming up.

By changing a registry setting emailed to me by Klaus
Oberdalhoff.
HKEY_LOCAL_MACHINE\Software\Microsoft\ Shared Tools\Graphics
Filters\Import\JPEG\Options

Change the ShowProgressDialog key value to "No".

-

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


I have actually gotten the images to display by having the
path to
the
jpg in
a text field in the record and using VBA to display the jpg.

The problem I am having is that if I change records (using the
navigation
buttons) I get a brief pop-up message about linking records.
Is
there
a way
to stop this from popping up?

Thanks a bunch!
Connie
 
Back
Top