Source code of Windows XP (NT5)
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 Add source files 4 years ago
..
distcreate.frm Add source files 4 years ago
distcreate.vbp Add source files 4 years ago
module1.bas Add source files 4 years ago
readme.txt Add source files 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.