Private Sub Command1_Click()
Dim k As Integer,n As Integer, found As Boolean
found=False
n=Len( (10) )
k=0
While k< (11) And Not found
If Text1=Left $ (List1.List(k),n)Then
Text2= (12) found=True
End If
k=k+1
Wend
If Not found Then
Text2="查无此人"
End If
End Sub