robertjenkin
Programmer
Hi all...
I trying to get a vb6 client to talk to a w2k mq server.
I beleive I'm headed in right direction (would be a first).
I'm trying with the folling code segment
MQCNOCD_DEFAULTS co
co.ConnectOpts.Options = MQCNO_NONE
co.ChannelDef.ChannelName = "SYSTEM.DEF.SVRCONN"
co.ChannelDef.ConnectionName = "10.5.5.213"
co.ChannelDef.UserIdentifier = "admin on that server"
co.ChannelDef.Password = "pwd for the admin account"
' connect to default queue manager
MQCONNXAny "QM_testing.surecomp_usa.com", co, Hconn, cc, Reason
If cc <> MQCC_OK Then
MsgBox "MQCONN failed with code " & Reason, vbOKOnly + vbExclamation, "Error"
end if
All I get is error 2035.
Thanks in advance...
I trying to get a vb6 client to talk to a w2k mq server.
I beleive I'm headed in right direction (would be a first).
I'm trying with the folling code segment
MQCNOCD_DEFAULTS co
co.ConnectOpts.Options = MQCNO_NONE
co.ChannelDef.ChannelName = "SYSTEM.DEF.SVRCONN"
co.ChannelDef.ConnectionName = "10.5.5.213"
co.ChannelDef.UserIdentifier = "admin on that server"
co.ChannelDef.Password = "pwd for the admin account"
' connect to default queue manager
MQCONNXAny "QM_testing.surecomp_usa.com", co, Hconn, cc, Reason
If cc <> MQCC_OK Then
MsgBox "MQCONN failed with code " & Reason, vbOKOnly + vbExclamation, "Error"
end if
All I get is error 2035.
Thanks in advance...