RAD Studio 10.4.1 is now available! Learn more. Looking for discounts? Visit our Special Offers page!
Delphi

Installing ActiveX Controls in RAD Studio 2007

Author: Craig Stuntz

The procedure for installing ActiveX controls on the Delphi/RAD Studio 2007 component palette is apparently confusing to some users of older versions of Delphi. So here’s a simple example. In this example, I’m installing the type libraries needed to use the Crystal Reports 9 ActiveX viewer, and the associated runtime type library.  First I create a package for both type libraries, then add the designer the type library to the package, then finally add the ActiveX control for the viewer and install it on the Delphi component palette.

  • File→New→Package
  • Save package as Crystal.dproj in some useful place
  • Component|Import Component
    • Choose “VCL for Delphi Win32”, then “Import a Type Library”
  • Scroll to – Crystal Reports 9 ActiveX Designer Run Time Library (Version 9.0)
  • Click Next, then check “Generate component wrappers,” then Next
  • Choose “Add unit to Crystal.dproj”
  • Click “Finish”

  • Component|Install Component
    • Choose “VCL for Delphi Win32”, then “Import ActiveX control”
    • Crystal Report Viewer Control 9 (Version 9.2)
    • Click Next, then check “Generate component wrappers.” Click Next
    • Choose “Add unit to Crystal.dproj”
    • Click “Finish”

    • Right click Crystal.dproj in Project Manager, choose Install.


    Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
    Design. Code. Compile. Deploy.
    Start Free Trial   Upgrade Today

       Free Delphi Community Edition   Free C++Builder Community Edition

    Related posts
    C++

    What's New in the GetIt Package Manager - June 2020

    C++

    RAD Studio 10.4 Now Available, Learn More

    C++NewsRAD Studio

    Open for Business with 10.4! - May 2020 GM Update

    C++DelphiNews

    Embarcadero Open Source Project Sponsorship

    Leave a Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    IN THE ARTICLES