I'm trying to make a web browser in Visual Basic Express Edition 2008, but I have one problem. I am trying to make a search bar/ button combo so i can type in what i want to search and click the button and have it search it on Google. How do i code the button so it "reads" the text from the search box and inserts it into a Google Search?
Visual Basic Web Browser(4 posts)
Put this code in the button
If its your first combobox in your form type this:
webbrower1.navigate "http://www.google.com/search?q=" & combobox1.text
If its your second type:
webbrower1.navigate "http://www.google.com/search?q=" & combobox2.text
You know what to do if its your any other :D
Glad to help.
This topic has been closed to new replies.