MessageQueue in Visual Basic .NET

Tags: VB.NET, VB 2008, VB 2010, VB 2012, VB 2013

This lesson describes the MessageQueue control


MessageQueue

This component provides access to a queue on a Message Queuing server.

Basicaly it allows you to connect to existing queues, send and receive messages, and otherwise add communication services to your application using a very small amount of code.

As for beginning you add an instance of the MessageQueue component to your project and configure it to interact with a queue on your Message Queuing server.

As mentioned, you can add an instance of the MessageQueue component to your Windows Forms application, but be aware that MessageQueue components have no visual user interface.

If you add an instance of the MessageQueue component to a visual designer (such as the Windows Forms Designer), the component appears in the component tray, but if the MessageQueue is not installed on your computer you will get the following error:

error

Meaning, this component is optional and not installed by default, so you must install it separately. See the following link for detailed steps on how to do this:

http://msdn.microsoft.com/en-us/library/aa967729.aspx

Note: this is a fairly advanced and specialized topic, so it is not covered in detail here. For more info on MessageQueue class you can check the following articleMessageQueue Class

Previous Lesson | Next Lesson


Share This

Home | About | Contact | Privacy Policy

Copyright visual-basic-tutorials.com 2017 - All Rights Reserved.