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 » IBM MQ API Support » Code to Communicate Visual Basic 6.0 to MQ 6.0?

Post new topic  Reply to topic
 Code to Communicate Visual Basic 6.0 to MQ 6.0? « View previous topic :: View next topic » 
Author Message
jayanthv
PostPosted: Wed Jun 28, 2006 12:56 pm    Post subject: Code to Communicate Visual Basic 6.0 to MQ 6.0? Reply with quote

Newbie

Joined: 28 Jun 2006
Posts: 1

Hi all,

I'm new user to this forum. I hope i will get lot answers regarding MQ.


I'm using VB6.0 with MQ5.3 with CSD10 patch in my system and i'm able to put the messages through the Visual Basic into MQ.

Few days back i installed MQ6.0 in my system, the same Visual Basic application is NOT at all working.. it's not able to connect to the Queue Manager and giving me exceptions...

I'm using MQAX200.DLL in my program to connect from VB to MQ..

Can you please tell me what the specific features or code changes that i need change in my program to put messages in MQ6.0 with VB6.0?


************************************************
Set mqs = New MQAX200.MQSession
Set qm = mqs.AccessQueueManager(m_QmName)

After reaching this statement the VB application is quitting with an exception

Set q = qm.AccessQueue(m_QName, MQOO_OUTPUT Or MQOO_INQUIRE)


************************************************
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 28, 2006 2:16 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What's the exception you are getting?

Also, be aware that the VB6 interface is now officially deprecated - you should be moving to the .NET interface.
_________________
I am *not* the model of the modern major general.
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 » IBM MQ API Support » Code to Communicate Visual Basic 6.0 to MQ 6.0?
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.