Subject: when kicked or banned from groupchat
hey all ... i want know when me or any one else has been kick from the room >> or Banned
i have make this code but not working
alse when ConfigurationChanged not showig msgbox ??? any help ?
im using vb.net to that ... its oky if you help me from giving csharp i understand
i have make this code but not working

If pres.Type = x.muc.StatusCode.ConfigurationChanged Then
MsgBox("ConfigurationChanged ")
End If
If pres.Type = x.muc.StatusCode.Banned Then
If pres.From.Resource = id.Text Then
msgbox("YOU BANNED")
End If
End If
If pres.Type = x.muc.StatusCode.Kicked Then
If pres.From.Resource = id.Text Then
msgbox("YOU ARE KICK")
End If
End If
MsgBox("ConfigurationChanged ")
End If
If pres.Type = x.muc.StatusCode.Banned Then
If pres.From.Resource = id.Text Then
msgbox("YOU BANNED")
End If
End If
If pres.Type = x.muc.StatusCode.Kicked Then
If pres.From.Resource = id.Text Then
msgbox("YOU ARE KICK")
End If
End If
alse when ConfigurationChanged not showig msgbox ??? any help ?
im using vb.net to that ... its oky if you help me from giving csharp i understand