Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VB.NET Connection to remote QM

107 views
Skip to first unread message

Jonathan Nordell

unread,
Jun 25, 2003, 6:15:23 PM6/25/03
to
Does anyone have a working example using VB.Net to connect to a remote queue
manager. All of the examples I've seen so far work great for connecting to
local queues, but I haven't gotten one to connect to a remote queue yet. I
know it's not my machine because I can admin and connect to the QM using VB6
without any problems.

I don't care if the example uses the Kolban DLL, IBM's supportpaq, or some
other COM object. I just need to find a working solution.


dialog-it GmbH

unread,
Jun 26, 2003, 2:58:25 AM6/26/03
to
Hi Jonathan,

In case of supportpack MA7P client connection in VB works like this:

--8<--
Dim mqQMgr As MQQueueManager '* MQQueueManager instance
Dim MQEnv As MQEnvironment '* MQ-Environment

'* Environment for Client-Connection:
MQEnv.Channel = "SYSTEM.AUTO.SVRCONN"
MQEnv.Hostname = "192.168.1.3" '* IP or hostname
MQEnv.Port = 1414 '* TCP/IP port
'* ---
mqQMgr = New MQQueueManager("QUEUE_MANAGER")
mqQueue = mqQMgr.AccessQueue("QUEUE_NAME", MQC.MQOO_OUTPUT +
MQC.MQOO_FAIL_IF_QUIESCING)
-->8--

Because the DLL uses MQCD structur version 7 it needs to have MQ-Client 5.3
installed! Does not work with 5.2.1 client as far as I know.

HTH,

--

Danyel Meyer
> -------------------------------------------
> dialog-it GmbH
> Röllinghäuser Strasse 55a
> 31061 Alfeld/Leine
>
> Tel +49 (0) 5181 900 814
> Fax +49 (0) 5181 900 815
> E-Mail danyel...@dialog-it.de


"Jonathan Nordell" <jona...@precisionind.com> schrieb im Newsbeitrag
news:bdd6tt$ha94$1...@news.boulder.ibm.com...

0 new messages