Author |
Message
|
wangld |
Posted: Thu Sep 28, 2006 5:11 pm Post subject: Which interface is good for programming in Visual Basic |
|
|
Novice
Joined: 27 Sep 2006 Posts: 13
|
Hi there,
I'm newbie,
I've done in learning some principal concepts in Websphere MQ.
My next step is learn programming Websphere MQ application with Visual Basic.
I know using Visual Basic is a bad idea but I have no choice .
I've read some IBM Redbook references and knew can integrate with Websphere MQ by various interface. And this make me confused to choose which is good.
My first choice is:
- Websphere MQ Control Commands for creating and controlling QM, channels and Server File Tranfer.
- IBM COM for controlling messages
- MQAI, using Bag COM for creating and controlling Queue and extras objects like AUTHINFO.
- AMI for fast building demo version.
My partner say MQAI is not support in .NET and advice me using PCFs instead but I'm stuck in VB.
Your advice is very important to me since I've started.
Pls help me.
Thank you. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Sep 29, 2006 12:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
AMI is depreciated in v6.0 - IBM advise no new develpment is done with it. It's also a bit duff in VB6 IMHO, though that could be just me. I prefer the access I get through the standard libraries, but I write more C/C++ than VB & I could be spoilt.
There's been discussion in here about .NET. AFAIK .NET 2.0 is currently unsupported, but you can use .NET 1.1 for anything MQ. Search the forum for the previous discussions.
If you're trying to control MQ via VB I'd recommend PCF messages; easier & more portable. Standard messageing I use the standard interface in VB; you might also want to look into XMS as a messaging interface.
Documentation available for all on the IBM site; I commend the Application Programmer's Guide / Reference to your attention.
(And VB can be a good choice for certain applications! ) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Sep 29, 2006 2:30 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Vitor -- I'm sure you meant to say deprecated and not depreciated... _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Fri Sep 29, 2006 3:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Oops...
Look, I was educated & raised in Essex. I've tried to rise above my childhood impediments but I still find long words difficult....
Apologies for any confusion caused, and my thanks for acting as a speeling safty nwt! _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 29, 2006 4:00 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Please make sure you're using VB.NET, and not VB6.
VB6 is also deprecated...
The Using .NET manual is a good place to start - you can do .NET programming in VisualBasic.
You don't need to worry about stuff like PCF or MQAI unless you're writing system administration or monitoring applications. So just focus on the core MQ API, described in the Application Programming Guide and the Using .NET manual. There are two flavors of this core API - procedural and object-oriented. The procedural one is documented in the APG and the object oriented one in Using .NET. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wangld |
Posted: Mon Oct 02, 2006 5:06 pm Post subject: |
|
|
Novice
Joined: 27 Sep 2006 Posts: 13
|
Thanks for helpings,
I wish I could use .NET or Java as I'm better in OOP than in procedural programming. But as I said, I MUST use VB .
I've found in this forum that nobody use Websphere MQ COM >_< but seem this is the best way for me (I hate the FIXED BUFFER ). I wonder why none using COM, MQBag seem look like PCFMessage in .NET (or I can say PCFMessage inherite MQBag idea).
And agree
Quote: |
(And VB can be a good choice for certain applications! ) |
|
|
Back to top |
|
 |
|