faqts : Computers : Programming : Languages : Visual basic

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 2 people (100%) answered Yes
Recently 2 of 2 people (100%) answered Yes

Entry

How can I parse urls from a website using the WebBrowser control

Oct 19th, 2006 03:41
Chad Currie, http://www.blogvoid.com/category/visual-basic/


See the following example.
For i = 0 To WebBrowser1.Document.links.length - 1
    MsgBox WebBrowser1.Document.links(i).href
Next i
The above code will loop through each link in the document loaded in 
your webbrowser control.