Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

programming mq on windows

Status
Not open for further replies.

pvmk

Programmer
Mar 12, 2001
16
0
0
US
hi
i've very basic question. Actually this is the first time am using vb for mq programming. Till now i've been using java/jms.
i'm trying to connect remote queue manager, on my desktop i've mqserver and client installed. on the remote que proper server channel is defined. And setting
MQType = 2 (ie client - infact i tried both 1 and 2 )

Set MQSess = New MQSession
Set QMgr = MQSess.AccessQueueManager("RemoteQueueManager")

Set Queue = QMgr.AccessQueue("TestQ", _
MQOO_OUTPUT Or MQOO_INPUT_AS_Q_DEF)
---
its throwing an error...
will some throw light on my problem

thanx
Mahesh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top