ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Problem with MQAX and VB

Post new topic  Reply to topic
 Problem with MQAX and VB « View previous topic :: View next topic » 
Author Message
nitinp
PostPosted: Wed Feb 13, 2002 3:49 pm    Post subject: Reply with quote

Newbie

Joined: 12 Feb 2002
Posts: 2

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 ]
Back to top
View user's profile Send private message
mveerman
PostPosted: Mon Feb 25, 2002 4:47 pm    Post subject: Reply with quote

Newbie

Joined: 24 Feb 2002
Posts: 7
Location: Los Angeles

Try:

Set mobjMQSess = CreateObject("MQAX200.MQSession")
Set mobjQMgr = mobjMQSess.AccessQueueManager(txtQM)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Problem with MQAX and VB
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.