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 » Using VB.NET class connect to MQ Server in other machine??

Post new topic  Reply to topic
 Using VB.NET class connect to MQ Server in other machine?? « View previous topic :: View next topic » 
Author Message
Le_Quang_Hoa
PostPosted: Sun Jun 05, 2005 8:38 pm    Post subject: Using VB.NET class connect to MQ Server in other machine?? Reply with quote

Apprentice

Joined: 14 May 2005
Posts: 29
Location: Viet nam

Dear all

I want to use VB.net class connect to Queue Manager on other machine without instanlled client . Is this ok

if OK how can in do??
all i install window , MQ verion 5.3 fix pack 9
MQEnvironment.Hostname = "192.168.222.252"
mqQMgr = New MQQueueManager(qmMgrName)

Thanks
_________________
Le Quang Hoa (Mr)
Email :hoa.lequang@gmail.com
YM: hoalq98
Ha noi City - Viet Nam
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
EddieA
PostPosted: Sun Jun 05, 2005 11:24 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

The machine where your client application is running must have the MQ Client installed, either as a stand-alone client or as part of a server install. The system you are going to connect to must be running an MQ QMGR, which requires a full server install.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 06, 2005 2:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you wrote your application in Java, you could use the plain Java API and only copy a few jar files - and not perform a full client install.

You can't do this with any other client.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 06, 2005 7:48 am    Post subject: Re: Using VB.NET class connect to MQ Server in other machine Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Le_Quang_Hoa wrote:
Dear all
...............
if OK how can in do??
all i install window , MQ verion 5.3 fix pack 9
MQEnvironment.Hostname = "192.168.222.252"
mqQMgr = New MQQueueManager(qmMgrName)

Thanks

That won't work. You need to check out the .NET manual.
In java it would be the MQEnvironment class. Guess in .NET it'll be the same.

Enjoy ...
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Mon Jun 06, 2005 3:24 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Code:

Dim myHashTable As New Hashtable
                    myHashTable.Add(IBM.WMQ.MQC.HOST_NAME_PROPERTY, TheHostName)
                    myHashTable.Add(IBM.WMQ.MQC.PORT_PROPERTY, ThePort)
                    myHashTable.Add(IBM.WMQ.MQC.CHANNEL_PROPERTY, TheChannelName)
'************************************************
'    Connect to the Queue Manager (QM Name optional - not needed)
'************************************************
myNewQMobject = New MQQueueManager(" ", myHashTable)

_________________
Peter Potkay
Keep Calm and MQ On
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 » Using VB.NET class connect to MQ Server in other machine??
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.