sup guys, haveing mega problems trying to grab links from google. well what im trying to do is navigate to google with a link like
VB Code:
WebBrowser1.Navigate "http://www.google.co.uk/search?hl=en&q=" & text1.text & "&meta="
Example ^^^
now what im trying to do is write all the links to a listbox or richtextbox with all the link results from the innerhtml, see below
VB Code:
Private Sub webbrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant) RichTextBox1.Text = WebBrowser1.Document.documentelement.innerhtml End Sub
now this saves the inner html to what ever i want it to eg a listbox or richtextbox, does anyone know how i can loop and print the links to another richtextbox with the searchwords i typed into google?




Reply With Quote