Work-Flow sample using the Microsoft Message Queue & VB | ||
Table of contents Overview Requirements Description of components Walk through sample Features worth noting
|
Overview: This sample is provided to show how easy it is to construct work-flow applications using Visual Basic & the Microsoft Message Queue. Feel free to reuse or modify any/all of the code contained in this project. The work-flow sample consists of a system simulating a simplified 'insurance claim processing' system. Claims are entered using a VB front end. When submitted, these claims are placed in a 'insurance claims queue.' A second VB application allows an 'insurance claims processor' to approve the claims. Once approved, the claims are moved to a second 'accounting queue.' A third VB application is used to process the claims in the 'accounting' queue. When these are approved the messages are removed from the second queue and the work-flow is complete. A fourth application is used to administer the entire system. It allows the creation and monitoring of the queues. Running the Workflow sample on a single machine: The Workflow sample can be run on a single machine, if the machine is installed with Windows NT Server. To run on a single machine: 1.       On the server machine, install the Microsoft Windows NT 4.0 Option Pack (with MSMQ's Enterprise Controller). The Option Pack can be found on the Visual Studio 6.0 Disk 2 in the WinNToptPak directory; optionally, go to the Microsoft website (www.microsoft.com), and search for Microsoft Windows NT 4.0 Option Pack to get to the download page. 2.       SQL Server must be installed on the machine. 3.       Install Visual Basic 6.0 (or later). 4.       Run the sample. Running the Workflow sample on an intranet: The sample can also be run as a client application on an intranet, as long as a machine running Windows NT Server is also on the network. To run the sample on a client machine installed with Win98 or WinNT: 1.       On the client machine, install the Microsoft Windows NT 4.0 Option Pack (with MSMQ, any configuration). The Option Pack can be found on the Visual Studio 6.0 Disk 2 in the WinNToptPak directory; optionally, go to the Microsoft website (www.microsoft.com), and search for Microsoft Windows NT 4.0 Option Pack to get to the download page. 2.       Also on the client machine, install Visual Basic 6.0 or later. 3.       Install the Workflow sample on the client machine. 4.       On the server machine, install Microsoft Windows NT 4.0 Option Pack with the MSMQ Enterprise Controller (requires SQL Server). 5.       Run the sample.
The sample is composed of four projects:
Walk through sample: (note, each of these steps can be done on the same or different machines)
|
|