Here is the code, and my apps crashes after it is done!
Visual Basic:
Dim sServerFav_new As String
Dim serverfav_rm As String
serverfav_rm = lbfavserver.SelectedItem
Dim i
For i = 0 To lbfavserver.Items.Count
lbfavserver.SelectedIndex = i
If lbfavserver.SelectedItem <> serverfav_rm Then
sServerFav_new = sServerFav_new + lbfavserver.SelectedItem + "|"
End If
Next i
MsgBox(sServerFav_new)