Visual Basic
  Home arrow Visual Basic arrow MSMQ Part 1/2: Architecture and Simple Imp...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
VISUAL BASIC

MSMQ Part 1/2: Architecture and Simple Implementation Using VB
By: Liviu Tudor
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 99
    2002-03-19

    Table of Contents:
  • MSMQ Part 1/2: Architecture and Simple Implementation Using VB
  • MSMQ Architecture
  • Hello world with MSMQ
  • Creating, looking up and deleting queues
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    MSMQ Part 1/2: Architecture and Simple Implementation Using VB


    (Page 1 of 5 )

    MSMQ is a messaging solution that uses the store-forward style of distributed computing to share data across networks in terms of messages. In part one of this two part series, Liviu explains the architecture of an enterprise system in relation to MSMQ. He also shows us how to implement a simple message queuing application using Visual Basic 6 and the MSMQ COM objects.When Graham Bell invented the telephone, the whole world thought that this would bring an end to the problem of ineffective communication: you could pick up the phone, dial a number and talk to anybody at any time... until they realised one thing: what if nobody picked up the phone at the other end?

    Transposed in the computing world, the concept of a network was looked upon as bringing the end of the "dark age" of the computing world... until the same type of problem occurred –- what happens if your network communication fails?

    There was the good old X.25 protocol, IPX/SPX, TCP/IP, and many other protocols, with each one claiming to have the solution to all communication problems. They nearly did back then, because things were a lot simpler than they are today: as long as you had a connection to the other end, you could make the world move as you wanted it (ok, maybe you couldn't – but you could’ve simulated it at least!). However, if your connection dropped out, it was down to each program(mer) to develop its own local caching system and fail-retry mechanism (both of these were a pain to implement).

    In this article we're going to take a look at MSMQ, which is a messaging solution that uses the store-forward style of distributed computing to share data across networks in terms of messages. To implement the examples shown in this article I will assume that you’re familiar with the setup of an enterprise architecture based on the Microsoft platform as well as Visual Basic and COM. You should have Windows 2000 server and Visual Basic 6.0 installed as well as MSMQ and the message queue explorer, which we will look at during this article.

    More Visual Basic Articles
    More By Liviu Tudor


     

    VISUAL BASIC ARTICLES

    - Developing an XML Web Service Using Visual S...
    - Creating an HTML File List with VB
    - Fun with Email: VB6, CDO, MAPI, and a Remote...
    - Extranet/Intranet Dictionary Cracker in VB
    - Finding Default App Icons With Visual Basic
    - Registry Fever With Visual Basic
    - Implementing An ADO Data Control With VB6
    - Printing With Visual Basic
    - MSMQ Part 1/2: Architecture and Simple Imple...
    - Magnifying The Desktop With Visual Basic
    - Sending Email With MAPI Components in Visual...
    - Two Person Chat With The Winsock Control And...
    - A Real-Time ActiveX News Control
    - Accessing the Windows API in Visual Basic







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek