• Kodak Imaging controls missing in Windows XP (2000 SP3)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Kodak Imaging controls missing in Windows XP (2000 SP3)

    Author
    Topic
    #428366

    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/g360_imaging/purchase/%5B/url%5D). 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

    Viewing 0 reply threads
    Author
    Replies
    • #995077

      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 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).

      • #995200

        Thanks again for the tips Hans!

        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

        • #995203

          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 grin

    Viewing 0 reply threads
    Reply To: Kodak Imaging controls missing in Windows XP (2000 SP3)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: