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 Discussion » Client application in Windows environment

Post new topic  Reply to topic
 Client application in Windows environment « View previous topic :: View next topic » 
Author Message
wih
PostPosted: Tue Oct 28, 2003 7:33 am    Post subject: Client application in Windows environment Reply with quote

Newbie

Joined: 25 Oct 2003
Posts: 2

When coding a client application in a Windows environment, what is the best method to access WebSphere MQ; the ActiveX control MQAX200.DLL, or the MQxxxx commands? In my installation, the server in on an Enterprise Server, z800.

All of the VB examples included with the client and developer's tools use the MQxxxx commands, but when I try to run them, I receive the error "MQM.DLL not found". When I use the ActiveX control in VB, on Get() method for the Queue object, I get the error "Object does not support this property or method". I cut and pasted the same exact code into VB.NET, and it runs fine. Also, the same code (syntax changed for the language) works in PowerBuilder.

I will be going live in three weeks with a PowerBuilder app using the ActiveX control for the client. My next project will be in VB or VB.NET, and I am confused as to which way to code it.

Any suggestions?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 28, 2003 8:20 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Client applications link against mqic32.dll, not mqm.dll.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
psanders
PostPosted: Tue Oct 28, 2003 1:08 pm    Post subject: VB6 Reply with quote

Apprentice

Joined: 02 Apr 2002
Posts: 27

We use VB6 through the MQAX200 and it works well. It is funny about throwing errors though. You have to either change ErrorThreshhold or check CompletionCode and ReasonCode.
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 Discussion » Client application in Windows environment
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.