problem navigating to a form which displays a jpeg image

G

Guest

I am using a form which includes an image for each record (similar to the
employees form in the Northwind database). When I move to a form that
displays a jpeg image I see message flash on the screen and vanish before
there is any chance of reading it. This doesn't happen with bitmap images
and the file size of the image does not seem to be a factor. The following
line of code seems to cause the problem:

Me![ImageFrame].Picture = fName

Can anyone explain why this is happening and/or suggest a solution?
 
G

Guest

Btw, I tried putting a jpeg image in the Northwind Employees form and found
that it exhibits the same behavoir.
 
S

Stephen Lebans

You need to modify the Registry to tell Access no to display the
"Loading Image" dialog. This is important not just for display/speed
purposes but also to alleviate a resources/memory Bug.
http://www.mvps.org/access/api/api0038.htm

--

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


TopherR said:
Btw, I tried putting a jpeg image in the Northwind Employees form and found
that it exhibits the same behavoir.

TopherR said:
I am using a form which includes an image for each record (similar to the
employees form in the Northwind database). When I move to a form that
displays a jpeg image I see message flash on the screen and vanish before
there is any chance of reading it. This doesn't happen with bitmap images
and the file size of the image does not seem to be a factor. The following
line of code seems to cause the problem:

Me![ImageFrame].Picture = fName

Can anyone explain why this is happening and/or suggest a solution?
 
G

Guest

Thank you, Stephen, for your reply and information. Unfortunately the
problem persists. The change to the registry did not seem to have any effect
and the code shown on the web page was WAAAAAY over my head.

So, I'm back to square one. Any other ideas? ...anyone...

Stephen Lebans said:
You need to modify the Registry to tell Access no to display the
"Loading Image" dialog. This is important not just for display/speed
purposes but also to alleviate a resources/memory Bug.
http://www.mvps.org/access/api/api0038.htm

--

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


TopherR said:
Btw, I tried putting a jpeg image in the Northwind Employees form and found
that it exhibits the same behavoir.

TopherR said:
I am using a form which includes an image for each record (similar to the
employees form in the Northwind database). When I move to a form that
displays a jpeg image I see message flash on the screen and vanish before
there is any chance of reading it. This doesn't happen with bitmap images
and the file size of the image does not seem to be a factor. The following
line of code seems to cause the problem:

Me![ImageFrame].Picture = fName

Can anyone explain why this is happening and/or suggest a solution?
 
S

Stephen Lebans

Phil if you GoogleGroups search for this issue with my name you will
find a few threads detailing the resolution to this issue. Depending
how/what profile you log onto your system the registry change you posted
needs to be modified in multiple areas.

The changes have to be made in HKEY_CURRENT_USER as well if my memory
serves me correctly.


--

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


TopherR said:
Thank you, Stephen, for your reply and information. Unfortunately the
problem persists. The change to the registry did not seem to have any effect
and the code shown on the web page was WAAAAAY over my head.

So, I'm back to square one. Any other ideas? ...anyone...

Stephen Lebans said:
You need to modify the Registry to tell Access no to display the
"Loading Image" dialog. This is important not just for display/speed
purposes but also to alleviate a resources/memory Bug.
http://www.mvps.org/access/api/api0038.htm

--

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


TopherR said:
Btw, I tried putting a jpeg image in the Northwind Employees form
and
found
that it exhibits the same behavoir.

:

I am using a form which includes an image for each record
(similar
to the
employees form in the Northwind database). When I move to a
form
that
displays a jpeg image I see message flash on the screen and
vanish
before
there is any chance of reading it. This doesn't happen with
bitmap
images
and the file size of the image does not seem to be a factor.
The
following
line of code seems to cause the problem:

Me![ImageFrame].Picture = fName

Can anyone explain why this is happening and/or suggest a solution?
 
G

Guest

Success! Changing that setting in the second hive was what I needed. Thank
you, Stephen.
 

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