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.spam.cox.net> wrote in message
news:8v********************************@4ax.com...
On Fri, 14 Nov 2003 00:08:24 GMT, "Larry Linson"
<bo*****@localhost.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********@austin.rr.com> wrote in message
news:vr***********@corp.supernews.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
tothe 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.tif"
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.