To prepare Visual Basic programs on Windows:
CMQBB.BAS | MQAI support |
CMQCFB.BAS | PCF support |
CMQXB.BAS | Channel exits support |
CMQPSB.BAS | Publish/subscribe |
See Coding in Visual Basic for information about use of the MQCONNXAny call from within Visual Basic.
Call the procedure MQ_SETDEFAULTS before making any MQI calls in the project code. This procedure sets up default structures that the MQI calls require.
Specify whether you are creating an WebSphere MQ server or client, before you compile or run the project, by setting the conditional compilation variable MqType. Set MqType in a Visual Basic project to 1 for a server or 2 for a client as follows:
MqType=1
or this for a client:
MqType=2