This snippet shoes how to extract all the URLs displayed in a webpage. Requirements

1) A WebBrowser Component
2) A reference to the Microsoft HTML Object Library

VB Code:
  1. Dim objHTML As New MSHTML.HTMLDocument
  2.  
  3. Private Sub Form_Load()
  4. WB.navigate "http://www.vbforums.com"
  5. End Sub
  6.  
  7. Private Sub WB_DownloadComplete()
  8.     Set objHTML = WB.document
  9.     For i = 0 To objHTML.links.Length - 1
  10.         Debug.Print objHTML.links(i)
  11.     Next i
  12. End Sub