'复制下列代码试试
Private Sub Command1_Click()
Dim
p As Integer, e As Integer
p = 1
While p < Len(Text1) And p > 0
p = InStr(p, Text1, "href=")
If p > 0 Then
e = InStr(p, Text1, Chr(34))
p = InStr(e + 1, Text1, Chr(34))
List1.AddItem Mid(Text1, e + 1, p - e - 1)
End If
Wend
End Sub
[此贴子已经被作者于2016-9-25 23:28编辑过]