Microsoft Chat Server Development Guide |
---|
This extension modifies channel topics by removing non-alphabetic characters.
This sample modifies the channel topic during the OnChannelPropertyChanged pre-update notification. The extension allows only channel topics containing the characters A-Z, a-z, and spaces. This sample also demonstrates how to implement custom commands from a user to enable and disable topic mangling.
See CustomCommand Sample for an alternative approach to adding custom commands to the Chat protocol.
This sample is built using Microsoft Visual Basic 5.0. You must have Microsoft Exchange Chat Service V5.5 SP1 installed.
To install the sample:
The following files can be found in the chat documentation installation directory, in Samples\vb5\MangleTopic:
File | Purpose |
---|---|
MangleTopic.cls | Visual Basic class module |
MangleTopic.dll | Chat server extension DLL |
© 1998 Microsoft Corporation. All rights reserved.