I am using MQSeries automation classes for activex in VB. The MQSeries client version is 5.1.
The relevant code is as follows:
Dim MQsess As MQSession '* session object
Dim QMgr As MQQueueManager '* queue manager object
Set MQsess = New MQSession
Set QMgr = MQsess.AccessQueueManager(txtQM)
The second statement fails giving VB error - Type mismatch.
This means the queueManager object returned by MQsess is not compatible with MQQueueManager class.
What can be the reason?
Thanks in advance.
The problem had occured due to some conflicting settings. Thanks anyway.
Nitin
[ This Message was edited by: nitinp on 2002-02-18 09:14 ]
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum