Subscribe to How-To Geek

Welcome to the How-To Geek Forums

We encourage you to register on our forums and post any questions you might have. The How-To Geeks monitor this forum and will respond to your question quickly.

How-To Geek Forums » Geek Stuff

Visual Basic Web Browser

(4 posts)
  • Started 2 months ago by nburrell11
  • Latest reply from nburrell11
  • Topic Viewed 312 times


nburrell11
nburrell11
Posts: 25

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?

Posted 2 months ago #
 
athieboy
Posts: 1

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.

Posted 2 months ago #
 
nburrell11
nburrell11
Posts: 25

THANK YOU SO MUCH!!
It works PERFECTLY!!!!!!!!!!!!!!!

Posted 2 months ago #
 
nburrell11
nburrell11
Posts: 25

Does anyone know how to make the combobox display the url for the website??

Posted 2 months ago #
 

RSS feed for this topic

Reply

You must log in to post.

Sponsored Links
Getting Started
About How-To Geek
Popular Articles

Copyright © 2006-2008 HowToGeek.com. All Rights Reserved.