+

Search Tips | Advanced Search

Use the Component Object Model Interface (IBM MQ Automation Classes for ActiveX)

The IBM MQ Automation Classes for ActiveX (MQAX) are ActiveX components that provide classes that we can use in our application to access IBM MQ.

From Version 9.0, IBM MQ support for MicrosoftActive X is deprecated. IBM MQ classes for .NET are the recommended replacement technology. For more information, see Developing .NET applications.

MQAX requires an IBM MQ environment and a corresponding IBM MQ application with which to communicate.

It gives your ActiveX application the ability to run transactions and access data on any of your enterprise systems that we can access through IBM MQ.

IBM MQ Automation Classes for ActiveX:

MQAX starter samples are provided. We can use these samples initially to check that your installation of the MQAX is successful and that we have the basic IBM MQ environment in place. The samples also demonstrate how MQAX can be used.


COM and ActiveX scripting

The Component Object Model (COM) is an object-based programming model defined by Microsoft. It specifies how software components can be provided in a way that allows them to locate and communicate with each other irrespective of the computer language in which they are written or their location.

ActiveX is a set of technologies, based on COM, that integrates application development, reusable components, and Internet technologies on the Microsoft Windows platforms. ActiveX components provide interfaces that can be accessed dynamically by applications. An ActiveX scripting client is an application, for example a compiler, that can build or execute a program or script that uses the interfaces provided by ActiveX (or COM) components.


IBM MQ environment support

IBM MQ Automation Classes for ActiveX can only be used with 32-bit ActiveX scripting clients.

The COM component can only be used for 32-bit applications. If you want to write 64-bit COM application, we can use the .NET interface.

To run the MQAX in an IBM MQ server environment you must have Windows 2000 or later installed on your system.

To run the MQAX in an IBM MQ MQI client environment you need IBM MQ MQI client on Windows 2000 or later installed on your system:

The IBM MQ MQI client requires access to at least one IBM MQ server. When both the IBM MQ MQI client and the IBM MQ server are installed on your system, MQAX applications always run against the server. The ActiveX interface to the MQAI is only available in IBM MQ server environments.