mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CryptoAlgo Inc
daad8a087a
|
4 years ago | |
---|---|---|
.. | ||
distcreate.frm | 4 years ago | |
distcreate.vbp | 4 years ago | |
module1.bas | 4 years ago | |
readme.txt | 4 years ago |
readme.txt
Sample: DistCreate
Purpose:
This application demonstrates how to create public and private queues, how to create a queue alias to the private queue, and how to create a Distribution list, and add the public queues and the queue alias to the distribution list.
The application also demonstrates how to create the group and the queues in a general solution - without having the computer name and the domain name hardcoded into the source.
Requirements:
VB6.0 is required.
MSMQ 3.0 or later must be installed -- specifically mqoa.dll must be registered and on the path.
The computer on which the demo is executed must be DS enabled.
Overview:
An IADsGroup object is created, and set to be a distribution list. Then, two public queues and a private queue are created. A queue alias is created and receives the private queue's format name as the queue to alias to. The two public queues and the queue alias are added to the distribution list and then a simple message is sent.