Dim max As Integer
Dim ID As Single
max = ListBox1.Items(0)
ID = 1
Dim i%
For i = 0 To ListBox1.Items.Count - 1
If ListBox1.Items(i) > max Then
ID = i
End If
Next i
ListBox1.Items.Remove(ID)
我按照VB的改了下但是没效果,有高人可以解答不。。。。。。