473,721 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Kodak Image Edit Control on Access 2000 Form to Display TIFF Images

Hello,

Please forgive my reposting of this note with hopefully a more relevant
subject line.

On an Access 2000 form under Windows 2000 I would like to use a Kodak Image
Edit Control to display the contents of a TIFF image file. According to the
very limited documentation that I have been able to locate so far, all I
should need to do is to drop the Image Edit Control onto the form in design
mode, set the control's Image property to the location of my TIFF file, and
possibly use something similar to following as the Current proc for the
form:

Private Sub Form_Current()
ActiveXControl1 .Image = "c:\junk.ti f"
ActiveXControl1 .FitTo 1
ActiveXControl1 .Display
End Sub

When I do all of that then switch to form view, the control does get added
to the form ok, but the image is never displayed, and I don't get any error
messages. It seems to act like my Form_Current() method is never running,
and therefore the Display method for the image edit control never runs
either.

Can anyone help? Please note that I am a beginner at trying to
use Active X controls on a form, so I may be missing something VERY obvious,
and very detailed handholding would be appreciated. Thanks in advance for
all help.

Kevin M.

Nov 12 '05 #1
4 8382
If you are, indeed, ONLY using it to display (not edit) the image, you might
take a look at the sample databases you can download from
http://accdevel.tripod.com, which illustrate three approaches to handling
images in Access using only native controls.

Larry Linson
Microsoft Access MVP

"Kevin Myers" <Ke********@aus tin.rr.com> wrote in message
news:vr******** ***@corp.supern ews.com...
Hello,

Please forgive my reposting of this note with hopefully a more relevant
subject line.

On an Access 2000 form under Windows 2000 I would like to use a Kodak Image Edit Control to display the contents of a TIFF image file. According to the very limited documentation that I have been able to locate so far, all I
should need to do is to drop the Image Edit Control onto the form in design mode, set the control's Image property to the location of my TIFF file, and possibly use something similar to following as the Current proc for the
form:

Private Sub Form_Current()
ActiveXControl1 .Image = "c:\junk.ti f"
ActiveXControl1 .FitTo 1
ActiveXControl1 .Display
End Sub

When I do all of that then switch to form view, the control does get added
to the form ok, but the image is never displayed, and I don't get any error messages. It seems to act like my Form_Current() method is never running,
and therefore the Display method for the image edit control never runs
either.

Can anyone help? Please note that I am a beginner at trying to
use Active X controls on a form, so I may be missing something VERY obvious, and very detailed handholding would be appreciated. Thanks in advance for
all help.

Kevin M.

Nov 12 '05 #2
On Fri, 14 Nov 2003 00:08:24 GMT, "Larry Linson"
<bo*****@localh ost.not> wrote:

Also, the Kodak control is not available on Windows XP.
-Tom.

If you are, indeed, ONLY using it to display (not edit) the image, you might
take a look at the sample databases you can download from
http://accdevel.tripod.com, which illustrate three approaches to handling
images in Access using only native controls.

Larry Linson
Microsoft Access MVP

"Kevin Myers" <Ke********@aus tin.rr.com> wrote in message
news:vr******* ****@corp.super news.com...
Hello,

Please forgive my reposting of this note with hopefully a more relevant
subject line.

On an Access 2000 form under Windows 2000 I would like to use a Kodak

Image
Edit Control to display the contents of a TIFF image file. According to

the
very limited documentation that I have been able to locate so far, all I
should need to do is to drop the Image Edit Control onto the form in

design
mode, set the control's Image property to the location of my TIFF file,

and
possibly use something similar to following as the Current proc for the
form:

Private Sub Form_Current()
ActiveXControl1 .Image = "c:\junk.ti f"
ActiveXControl1 .FitTo 1
ActiveXControl1 .Display
End Sub

When I do all of that then switch to form view, the control does get added
to the form ok, but the image is never displayed, and I don't get any

error
messages. It seems to act like my Form_Current() method is never running,
and therefore the Display method for the image edit control never runs
either.

Can anyone help? Please note that I am a beginner at trying to
use Active X controls on a form, so I may be missing something VERY

obvious,
and very detailed handholding would be appreciated. Thanks in advance for
all help.

Kevin M.


Nov 12 '05 #3
Larry and Tom, thanks for your replies.

Unfortunately, I don't believe that the alternative Larry suggested will
work for me. I work with extremely large TIFF images, up to 300 megapixels
or more in size, tyipcally only 4 to 12 inches in width, but up to several
hundred feet in length. The Kodak/Wang imaging control will work with these
very large images (mostly), and with reasonable performance. I don't
believe the native Access controls are capable of handling images of this
size, are they? And if so, is the performance reasonable (e.g load times on
the order of seconds rather than minutes)? Finally, do the native controls
allow a fit image to window width option (with scrollable height dimension)?
That is critical for my application as well.

As you can see, my needs aren't exactly "typical", and the Kodak/Wang
control is the only control that I'm aware of that can handle them which
does not have a completely exhorbitant price tag.

I have now actually succeeded in getting the image to display in my Kodak
Image Edit control. I managed to track down a copy of the docs for the
control on one of my Windows 98 machines, and I finally located where to
enable the Form_Current procedure for the OnCurrent event of the form.
However, the difficulty of locating that info raises one additional
question: Where are the docs for the methods/procedures and properties that
are supported by the Form object? I searched every way I could think of in
the MS Access docs, and couldn't seem to find any listing for the Form
object. I also had a hard time figuring out how to get to the properties
list for the Form.

Thanks again.

s/KAM
"Tom van Stiphout" <to*****@no.spa m.cox.net> wrote in message
news:8v******** *************** *********@4ax.c om...
On Fri, 14 Nov 2003 00:08:24 GMT, "Larry Linson"
<bo*****@localh ost.not> wrote:

Also, the Kodak control is not available on Windows XP.
-Tom.

If you are, indeed, ONLY using it to display (not edit) the image, you mighttake a look at the sample databases you can download from
http://accdevel.tripod.com, which illustrate three approaches to handling
images in Access using only native controls.

Larry Linson
Microsoft Access MVP

"Kevin Myers" <Ke********@aus tin.rr.com> wrote in message
news:vr******* ****@corp.super news.com...
Hello,

Please forgive my reposting of this note with hopefully a more relevant
subject line.

On an Access 2000 form under Windows 2000 I would like to use a Kodak

Image
Edit Control to display the contents of a TIFF image file. According to
the
very limited documentation that I have been able to locate so far, all

I should need to do is to drop the Image Edit Control onto the form in

design
mode, set the control's Image property to the location of my TIFF file,

and
possibly use something similar to following as the Current proc for the
form:

Private Sub Form_Current()
ActiveXControl1 .Image = "c:\junk.ti f"
ActiveXControl1 .FitTo 1
ActiveXControl1 .Display
End Sub

When I do all of that then switch to form view, the control does get added to the form ok, but the image is never displayed, and I don't get any

error
messages. It seems to act like my Form_Current() method is never running, and therefore the Display method for the image edit control never runs
either.

Can anyone help? Please note that I am a beginner at trying to
use Active X controls on a form, so I may be missing something VERY

obvious,
and very detailed handholding would be appreciated. Thanks in advance for all help.

Kevin M.

Nov 12 '05 #4
TR
Not sure if this is the problem or not, but I would normally use:
ActiveXControl1 .Object.Image = "c:\junk.ti f"
ActiveXControl1 .Object.FitTo 0
ActiveXControl1 .Object.Display

To see if its a problem with the form current event, add a command button with
the same code and see if that works.

Also, be aware that these controls are NOT included with Windows XP. On a new XP
machine, or a clean install of XP, they will not be present (if you upgrade to
XP on a machine that already has them, they will still be there). And they are
not legally distributable.
If you do not need multipage tif viewing or the other features of the kodak
control, Larry's suggestion for a non-activeX approach are woth looking at.
Kevin Myers wrote:
Hello,

Please forgive my reposting of this note with hopefully a more relevant
subject line.

On an Access 2000 form under Windows 2000 I would like to use a Kodak Image
Edit Control to display the contents of a TIFF image file. According to the
very limited documentation that I have been able to locate so far, all I
should need to do is to drop the Image Edit Control onto the form in design
mode, set the control's Image property to the location of my TIFF file, and
possibly use something similar to following as the Current proc for the
form:

Private Sub Form_Current()
ActiveXControl1 .Image = "c:\junk.ti f"
ActiveXControl1 .FitTo 1
ActiveXControl1 .Display
End Sub

When I do all of that then switch to form view, the control does get added
to the form ok, but the image is never displayed, and I don't get any error
messages. It seems to act like my Form_Current() method is never running,
and therefore the Display method for the image edit control never runs
either.

Can anyone help? Please note that I am a beginner at trying to
use Active X controls on a form, so I may be missing something VERY obvious,
and very detailed handholding would be appreciated. Thanks in advance for
all help.

Kevin M.


Nov 12 '05 #5

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

Similar topics

1
3652
by: Phil Powell | last post by:
PHP 4.3.2 with --enable-exif I have the following class: <?php class ThumbGenerator extends MethodGeneratorForActionPerformer { function ThumbGenerator() { // CONSTRUCTOR
17
10031
by: PyPK | last post by:
Hi I am looking for a simple tiff Image reader/writer in python.Can anyone point me to the right one.
0
4950
by: amita | last post by:
hi, 1.I want to show a image file of type '.tif' in the browser window; for that I'm writting as ASP code page. 2.This '.tif' type image can be shown better with 'Kodak Image Control'. 3.To have this 'Kodak Image Control' on my code page I just add it's ..ocx to tool box and then drag it from 'Toolbox' to the page.
3
3983
by: Ken | last post by:
I have a win 2000 database of autographs and scanned photos. They are in the SAME directory. In the table, my "ImagePath" text field shows JUST the image name (i.e. "blank.jpg"). I have an image field that links to the ImagePath field. But it does not display in the form. I go in and delete the image field and add it back in and link it to the "blank.jpg" file (its a dummy jpg that says "Not Avail"). Then I make sure it is linked and not...
5
1595
by: ken | last post by:
I had to reinstall Windows 2000 Pro and of course Access 2000. I HAD each record displaying a photo but now it does not show them. The WEIRD thing is that when I upload the database to my website...the image shows up! Is there a setting in Access that I need to chnage because of the reinstall? Thanks. Ken
5
2582
by: Michael Fitzpatrick | last post by:
I have an access 2000 database form and need an image control that will display a PNG file. The PC's all run Windows 2000. The image control in access 2000 does not support PNG so I tried to create a VB.Net project control with only the image control in it. Unfortunately, I cannot load this control into Access 2000, since it is a .NET control! How can I create a windows control in .NET that I can use in VBA (or for that matter, VB6).
3
5827
by: CD | last post by:
An application is logging faxes sent in SQL2000 image column type. I have found code on the net but what it is doing is prompting to save to local which is fine for single page image. Not good for multiple page faxes. I have not been able to locate an example to load in the browser or how to handle multiple image in the one column. 1) Ideally it would be nice to display back in the browser since some may be multiple images. I am not...
7
3789
by: Ben | last post by:
Hi We are looking for a component that offers that offers the below for Tiff files: Image clean-up (deskew, despeckle) Printing capabilities from VB The ability to add text to image, e.g. time / date Nice to have:
2
3326
by: crapycoder | last post by:
hi all, please help....!! i have added a kodak image edit control on my form. when i click get image button, "abc.img" will be displayed. i have a button named "copy to clipboard". when i click it, i want the image in kodak image edit control to be copied to clipboard.
0
8844
marktang
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...
0
9218
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9132
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9067
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8009
agi2029
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...
1
6672
isladogs
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...
0
4755
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2578
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2132
bsmnconsultancy
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...

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.