Ja sam pokusao sa ovim i radi, ali kada ima mnogo html koda onda zablokira.
Moze li se to popraviti?
Dim a As String, b As String
Private Sub cmd1_Click()
b = 1
For i = b To Len(txt1.Text)
a = 1
If Mid(txt1.Text, i, 8) = "<a href=" Or Mid(txt1.Text, i, 8) = "<A HREF=" Then
For e = i To Len(txt1.Text)
If Mid(txt1.Text, e, 1) = ">" Then
If a = 1 Then
lst1.AddItem Mid(txt1.Text, i + 9, e - i - 10)
a = 0
End If
End If
b = e
Next e
End If
Next i
End Sub
P.S. Hvala na codeu. Ali radim u VB6 pa kada promenim neke stavke...
|