Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim Page As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("a")
- ListBox1.Items.Clear()
- For Each Element As HtmlElement In Page
- If Element.GetAttribute("href").Contains("/groups") Then
- ListBox1.Items.Add(Element.GetAttribute("href").ToString())
- End If
- Next
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement