I have Access XP, and the following code which is supposed to assign a JPEG
to an image control:
Me.Image9.Pictu re =
"F:\Pictures\CP 775_SonyDSCP50\ FingerRockNight _Resize.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 6 9268
U¿ytkownik "Larry R Harrison Jr" <no***@noone.co m> napisa³ w wiadomo¶ci
news:Ea1Qc.2741 $yh.516@fed1rea d05... I have Access XP, and the following code which is supposed to assign a
JPEG to an image control:
Me.Image9.Pictu re = "F:\Pictures\CP 775_SonyDSCP50\ FingerRockNight _Resize.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
"Gonty" <bl******@poczt a.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?
"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.Pictu re = "F:\Pictures\CP 775_SonyDSCP50\ FingerRockNight _Resize.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.zi p 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.
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*****@localh ost.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.Pictu re = > "F:\Pictures\CP 775_SonyDSCP50\ FingerRockNight _Resize.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.zi p 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.
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.co m> wrote in message
news:qVaQc.2943 $yh.1700@fed1re ad05... 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*****@localh ost.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.Pictu re = > "F:\Pictures\CP 775_SonyDSCP50\ FingerRockNight _Resize.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.zi p 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.
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 about it, but no
workaround has been suggested. does anyone know a workaround for
unzipping a ZipFile from Java ?
thanks,
Irit.
|
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 recordsource i get this error:
This version of Microsoft Access doesn't support design changes to the
version of Microsoft SQL Server your project is connected to. See the
|
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 Content. The Chart will reside on a
Report and possibly converted to a 2002 format. Currently I'm using the
following code with Microsoft Graph 11.0 Object Library referenced.:
With myChart.Legend
For i = 1 To .LegendEntries.Count...
|
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, rich-text
format, MS-DOS text, or HTML file are missing from the Windows Registry.
Also after the snapshot is created how do I get it to the users web page?
Thanks
Here is my code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal...
|
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 is
already opened exclusively by another user, or you need permission to view
its data.
I've read some info about this (microsoft support article q316675) but I'm
still confused on what to do?
| |
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 tried all sorts of
things based on information that I got but not able to get rid of the
same.
The code that I use is:
|
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 Access ?
--
Goofy
|
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 IE?
Thanks,
-Billy zhang
|
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 per their MSDN policy.
--------------------
I have a web site under .NET 2.0 that renders videos using the Silverlight
media player.
The web page looks like this:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="video2.aspx.cs"
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |