Decoding JPEG as well as JPG files

  • Thread starter Bradley C. Hammerstrom
  • Start date
B

Bradley C. Hammerstrom

Access2000

My image database has no trouble with JPG files as long as they have the
three letter extension, ".JPG".
How can Access display images that also have a file extension of, ".JPEG"?

Brad H.
 
S

Stephen Lebans

OFTOMH
How about simply renaming the files to the valid 3 character extension?
If for whatever reason you do not want to rename fhe files permanently,
then you could either :
1) Rename them to a temp file at runtime. Load the temp file.
or
2) Use the LoadJpegGif solution on my site to bypass the Office graphics
filters altogether.
http://www.lebans.com/loadjpeggif.htm

Finally, have you tried creating the necessary Registry entries for the
Office Graphics filters to see if they will load a file with a JPEG
extension?
--

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

Bradley C. Hammerstrom

Found my own answer. . .
I did it this way,

add "jpeg" in the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Graphics
Filters\Import\JPEG

Brad H.
 

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