Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Feb 2001
    Location
    Ontario, Canada
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Kodak Imaging controls missing in Windows XP (2000 SP3)

    We are experiencing problems with some VBA code that was originally developed within Access 2000 on Windows 2000 Professional. We have a database that makes use of images in reports. The references to these images are from a table. When a user running Windows XP tries to open a report in this database they experience a compile error: Can't Find Project or Library.

    I've narrowed it down the apparent fact that Windows XP, according to MS, no longer includes the Kodak Imaging libraries (ImgAdmin.ocx, Imagscan.ocx, ImgThumb.ocx) which this VBA functionality depended on (using the LoadPicture command). It appears that this utility is now only available from the developer Global360 (http://www.global360.com/products/g3...ging/purchase/). Is there an alternate method of loading images (JPGs) in an Access report that does not make use of the Kodak Imagining tools and that will work on Windows 2000 as well as Windows XP?

    Any advise someone can provide would be most appreciated.

    Drew

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Kodak Imaging controls missing in Windows XP (2000 SP3)

    The recommended approach is to store the path and filename of the image in a text field in the database, and to use a standard image control and some VBA code to display the image. The database attached to <post#=296892>post 296892</post#> demonstrates how to do this in a form and in a report. The images can be .bmp, .jpg, .gif, .png, .wmf, .tif and several other graphics formats. (Note: .tif is no longer supported in Access 2003).

  3. #3
    Star Lounger
    Join Date
    Feb 2001
    Location
    Ontario, Canada
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Kodak Imaging controls missing in Windows XP (2000 SP3)

    <span style="background-color: #FFFF00; color: #000000; font-weight: bold">Thanks again for the tips Hans!</span hi>

    I did try just copying the required OCX and DLL files from a Windows 2000 machine onto my Windows XP machine and all seems to be well. I will look at recoding the database in the long run to correct the need for the non-supported configuration.

    Drew

  4. #4
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Kodak Imaging controls missing in Windows XP (2000 SP3)

    Drew

    There is a method we used for a similar project and involves copying the necessary files from an old system disc using a batch file. There may be licensing issues surrounding this but I am not quite sure about the legalities. I am therefore not that happy to publish it on the main board to show the method but if you are interested and cannot get Hans suggestion to work you can PM me from my control panel and I will provide you with the necessary code <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Jerry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •