Contents Index Topic Contents | ||
Previous Topic: NewChatItems Property Next Topic: OpeningChannels Property |
Nickname Property
Returns the control user's Nickname for the current connection, or an empty string if there is no live connection.
Syntax
value=object.Nickname
Parameters
object Required. An object expression that evaluates to an MsChatPr control. value Required. A string expression to contain the control user's Nickname for the current connection, or an empty string if there is no live connection. Remarks
Access is read-only.
Example
Dim strMyNickname As String strMyNickname=MsChatPr1.Nickname 'or Sub MsChatPr1_OnMemberKicked(Channel* Channel, BSTR KickedNickname, BSTR KickerNickname, BSTR Reason) If (KickedNickname = MsChatPr1.Nickname) Then MsgBox "You were kicked by " + KickerNickname + " because: " + Reason End If End Sub
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.