473,320 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Trying To View JPEGS: Microsoft Access Doesn't Support The format of the file

I have Access XP, and the following code which is supposed to assign a JPEG
to an image control:

Me.Image9.Picture =
"F:\Pictures\CP775_SonyDSCP50\FingerRockNight_Resi ze.jpg"

I get this error though:

microsoft access dont' supoort the format of the file

etc etc. The file is a JPEG, it's only about 80K in size.

I'm trying to use Access to be able to browse the images in a directory but
I'm stuck at this point.

Tips?

LRH
Nov 13 '05 #1
6 9145
U¿ytkownik "Larry R Harrison Jr" <no***@noone.com> napisa³ w wiadomo¶ci
news:Ea1Qc.2741$yh.516@fed1read05...
I have Access XP, and the following code which is supposed to assign a JPEG to an image control:

Me.Image9.Picture =
"F:\Pictures\CP775_SonyDSCP50\FingerRockNight_Resi ze.jpg"

I get this error though:

microsoft access dont' supoort the format of the file

etc etc. The file is a JPEG, it's only about 80K in size.

I'm trying to use Access to be able to browse the images in a directory but I'm stuck at this point.

Tips?

LRH


Not Access but Windows can't recognize this file format. You should install
a graphic programm, which recognizes this format.

--

Greetings

Dariusz My¶liwiec
Nov 13 '05 #2

"Gonty" <bl******@poczta.onet.pl> wrote in message
news:ce**********@news.onet.pl...
Not Access but Windows can't recognize this file format. You should install a graphic programm, which recognizes this format.


Huh?
Nov 13 '05 #3
"Larry R Harrison Jr" wrote
I have Access XP, and the following code
which is supposed to assign a JPEG
to an image control:

Me.Image9.Picture =
"F:\Pictures\CP775_SonyDSCP50\FingerRockNight_Resi ze.jpg"

I get this error though:

microsoft access dont' supoort the format of the file


The graphics filters have to be installed to display JPEG in Image controls.
If they were not, then you'd get a similar message. I can't remember from my
installation of Office XP, but in some past versions, they were not
installed by default (so you had to do a custom or complete install). That
may or may not be the problem, but it is what I'd check first.

And, as you questioned on the other response, no separate "image processing
program" is involved with displaying in an Image control.

If you haven't seen it/them already, the sample imaging databases at
http://accdevel.tripod.com illustrate three approaches to handling images in
Access, and the download includes an article discussing considerations in
choosing an approach. Two of the approaches do not use OLE Objects and,
thus, avoid the database bloat, and some other problems, associated with
images in OLE Objects.

And, if you get the same error running the example of "external files", then
almost certainly, it is an installation problem.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.


Nov 13 '05 #4
Thanks. I did that, got it to work.

However, one thing--is there a way to "downsize" the JPEG for viewing? They
are 5 megapixel files at full-size, and I'm just trying to develop this as a
way to view them and them "mark" them for usage later (by recording their
filepath in a table name).

LRH
"Larry Linson" <bo*****@localhost.not> wrote in message
news:NB*************@nwrddc03.gnilink.net...
"Larry R Harrison Jr" wrote
> I have Access XP, and the following code
> which is supposed to assign a JPEG
> to an image control:
>
> Me.Image9.Picture =
> "F:\Pictures\CP775_SonyDSCP50\FingerRockNight_Resi ze.jpg"
>
> I get this error though:
>
> microsoft access dont' supoort the format of the file
The graphics filters have to be installed to display JPEG in Image

controls. If they were not, then you'd get a similar message. I can't remember from my installation of Office XP, but in some past versions, they were not
installed by default (so you had to do a custom or complete install). That
may or may not be the problem, but it is what I'd check first.

And, as you questioned on the other response, no separate "image processing program" is involved with displaying in an Image control.

If you haven't seen it/them already, the sample imaging databases at
http://accdevel.tripod.com illustrate three approaches to handling images in Access, and the download includes an article discussing considerations in
choosing an approach. Two of the approaches do not use OLE Objects and,
thus, avoid the database bloat, and some other problems, associated with
images in OLE Objects.

And, if you get the same error running the example of "external files", then almost certainly, it is an installation problem.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm. PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver. This MDB also contains code showing how to convert the contents of the Image control to a Bitmap file prior to printing. This helps alleviate the "Out of Memory" error that can popup when printing image intensive reports.



Nov 13 '05 #5
I mostly use Paint Shop Pro to manipulate images, or one of several other
image editors, including some that have come with Microsoft Office editions
in the past. As far as I know, there's nothing in Access itself to reduce
the size of a JPG image; and reducing the size in an image editor will
reduce the quality as well -- so work only on copies of your image files
until you are happy with the results.

Larry Linson
Microsoft Access MVP

"Larry R Harrison Jr" <no***@noone.com> wrote in message
news:qVaQc.2943$yh.1700@fed1read05...
Thanks. I did that, got it to work.

However, one thing--is there a way to "downsize" the JPEG for viewing? They are 5 megapixel files at full-size, and I'm just trying to develop this as a way to view them and them "mark" them for usage later (by recording their
filepath in a table name).

LRH
"Larry Linson" <bo*****@localhost.not> wrote in message
news:NB*************@nwrddc03.gnilink.net...
"Larry R Harrison Jr" wrote
> I have Access XP, and the following code
> which is supposed to assign a JPEG
> to an image control:
>
> Me.Image9.Picture =
> "F:\Pictures\CP775_SonyDSCP50\FingerRockNight_Resi ze.jpg"
>
> I get this error though:
>
> microsoft access dont' supoort the format of the file
The graphics filters have to be installed to display JPEG in Image

controls.
If they were not, then you'd get a similar message. I can't remember from my
installation of Office XP, but in some past versions, they were not
installed by default (so you had to do a custom or complete install).
That may or may not be the problem, but it is what I'd check first.

And, as you questioned on the other response, no separate "image

processing
program" is involved with displaying in an Image control.

If you haven't seen it/them already, the sample imaging databases at
http://accdevel.tripod.com illustrate three approaches to handling images in
Access, and the download includes an article discussing considerations
in choosing an approach. Two of the approaches do not use OLE Objects and,
thus, avoid the database bloat, and some other problems, associated with
images in OLE Objects.

And, if you get the same error running the example of "external files",

then
almost certainly, it is an installation problem.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans'

http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during the Access formatting process prior to being spooled to the Printer

Driver.
This MDB also contains code showing how to convert the contents of the

Image
control to a Bitmap file prior to printing. This helps alleviate the

"Out of
Memory" error that can popup when printing image intensive reports.




Nov 13 '05 #6
Thanks for the reply Mr Larry Linson. Actually I got the desired effort
simply by changing the properties of the Image Control.

I changed Size Mode from "Clip" to "Zoom."

Maybe I didn't clarify--I didn't want it resaving the image with the new
size, I merely wanted it to resize on the screen while viewing--not change
the size and resave.

Thanks just the same.

Yes I do use full-blown image editors most of the time. I was just trying to
create something which would let me wife browse the photo collection and
"flag" certain photos for review later on. It creates a table with the
filename (and path) and it makes copies of the photos in the "Temp" folder
for her. Yes there are better ways, but those better ways might interfere
with settings I've made for my own usage; this way, there's no
"cross-contamination."

LRH
Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: irit hasid | last post by:
Hi, I've been trying to use JDK's ZipFile.java in order to extract a zipped file. the files inside my zip file have japanese names, and it throws an exception. there's a bug at SUN's database...
2
by: Filips Benoit | last post by:
Dear All, Access adp on sql-server 2000 After upgrating to A2003 updating data with 1 perticular combobox causes the program to hangs without any error-msg. Traying to change te combobox...
2
by: Dave | last post by:
I'm trying to follow the examples in VBAGRP9.CHM and/or VBAGR10.CHM with no success. I'm trying to Chage the Legend Colors based on Content so that I can establish a certain color format on...
1
by: Vincel2k2 | last post by:
Hi, I need to provide Access reports from our web site. When the app gets to the output command I get this error I get this error: The formats that enable you to output data as a Microsoft Excel,...
4
by: klynn | last post by:
Hi: I'm having problems reading a Microsoft Access file from my ASP.Net app on a Windows Server 2003 machine. The error message: The Microsoft database engine cannot open the file, <my_file>. It...
2
by: Pradeep Varma | last post by:
Hi, I am using Acrobat 6.0. I am trying to save an Access report to a PDF file using the Acrobat Distiller but came across an error message “ActiveX component cannot create object –429”. I have...
4
by: Goofy | last post by:
The add database ( MDF ) in Visual Studio 2005 seems to be in SQL Server 2005 format as far as I can tell. Does anyone know how I can import tables ( without having to start writing queries ) from...
3
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
I have a asp.net app, in the page there is a scan activex which could scan and save a jpg file in client harddisk. How could we access and display this jpg file on the fly using js in the client...
3
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
Note: My apologies for repeating this post from last week, but my nospam alias and profile account were incorrect. I think I have fixed this, so hopefully this post will trigger MS into a response...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.