>Thanks very much for this Fred.
>Where does the mqax200 class come from? I haven't got any current experience with MQ-Series I'm afraid. Is the class library installed as part of the MQ-Series client installation?
I believe so. We never had the server version, so I can only guess that it came with the client. The documentation that came with the client was pretty useful, along with Intellisense, it wasn't all that hard to figure things out. It did take some trial and error and head scratching on parts of it.
What I posted was just some excerpts from our code, but hopefully it's enough to get you started.
Note that you'll also need to set the environment variable MQSERVER with the queue name and other info, something like this: CLIENT.QUENAME/TCP/123.123.123.123:(1414)