ActiveX programming

ActiveX automation is a programming technology that is defined by Microsoft and is supported by the IBM® i Access Client Solutions product.

Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.
IBM i Access Client Solutions provides the following methods for accessing IBM i resources by using ActiveX automation:
Automation objects:
These objects provide support for:
  • Accessing IBM i data queues
  • Calling IBM i application programming interfaces and user programs
  • Managing IBM i connections and validating security
  • Running IBM i CL commands
  • Performing data-type and code-page conversions
  • Performing database transfers
  • Interfacing with host emulation sessions
IBM i Access Client Solutions OLE DB provider:
Call the OLE DB Provider, by using Microsoft's ActiveX Data Objects (ADO), to access the following IBM i resources:
  • The IBM i database, through record-level access
  • The IBM i database, through SQL
  • SQL stored procedures
  • Data queues
  • Programs
  • CL commands
Custom controls:
ActiveX custom controls are provided for:
  • IBM i data queues
  • IBM i CL commands
  • IBM i names for previously connected systems
  • IBM i Navigator
Programmer's Toolkit:
For detailed information on ActiveX, see the ActiveX topic in the Programmer's Toolkit component of product. It includes complete documentation of ADO and ActiveX automation objects, and links to ActiveX information resources.
How to access the ActiveX topic:
  1. Ensure that the Programmer's Toolkit is installed (see Install the Programmer's Toolkit).
  2. Launch the Programmer's Toolkit (see Launch the Programmer's Toolkit).
  3. Select the Overview topic.
  4. Select Programming Technologies.
  5. Select ActiveX.