4 BackColor = &H00C0C0C0&
5 BorderStyle = 3 'Fixed Dialog
6 Caption = "Invite a user"
13 name = "MS Sans Serif"
19 strikethrough = 0 'False
21 ForeColor = &H80000008&
32 Begin Threed.SSPanel Panel3D1
42 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
43 name = "MS Sans Serif"
49 strikethrough = 0 'False
52 Begin VB.ComboBox UserName
54 BackColor = &H00FFFFFF&
56 name = "MS Sans Serif"
62 strikethrough = 0 'False
71 Begin VB.CommandButton invite_button
73 BackColor = &H80000005&
74 Caption = "&Invite this user"
81 Begin VB.CommandButton cancel_button
83 BackColor = &H80000005&
91 Begin Threed.SSPanel RoomName
101 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
102 name = "MS Sans Serif"
108 strikethrough = 0 'False
112 Begin VB.Label Label2
113 Alignment = 2 'Center
115 BackColor = &H80000005&
116 BackStyle = 0 'Transparent
117 Caption = "User to invite:"
118 ForeColor = &H80000008&
125 Begin VB.Label Label1
126 Alignment = 2 'Center
128 BackColor = &H80000005&
129 BackStyle = 0 'Transparent
130 Caption = "Room Name:"
131 ForeColor = &H80000008&
139 Attribute VB_Name = "Invite"
140 Attribute VB_Creatable = False
141 Attribute VB_Exposed = False
143 Private Sub cancel_button_Click()
150 Private Sub Form_Load()
152 Invite.WindowState = 0
153 Invite.Top = Int((MainWin.Height - Invite.Height) / 3)
154 Invite.Left = Int((MainWin.Width - Invite.Width) / 2)
155 RoomName.Caption = CurrRoomName$
158 If begin_trans() = True Then
162 If Left$(a$, 1) = "1" Then
165 If (a$ <> "000") Then UserName.AddItem (extract(a$, 0))
167 Loop Until a$ = "000"
174 Private Sub invite_button_Click()
176 If begin_trans() = True Then
178 serv_puts ("INVT " + UserName.Text)
182 If Left$(a$, 1) <> "2" Then
183 MsgBox Right$(a$, Len(a$) - 4), 16, "Error"