Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Google Search Bar [HELP]

Started 4 months ago by VBFiEND
Google Search Bar [HELP] I'm making an option on a program for a google search bar when you enter in what you want to search in the textbox and click the button I want to to go to google.com and search for what I put in. How would I do this? Or would I just have to make it to where it goes to google.com and they would have ...
Site: VBForums - Visual Basic and VB .NET Discussions and More!  VBForums - Visual Basic and VB .NET Discussions and More! - site profile
Forum: Visual Basic .NET  Visual Basic .NET - forum profile
Total authors: 6 authors
Total thread posts: 24 posts
Thread activity: no new posts during last week
Domain info for: vbforums.com

Other posts in this thread:

stateofidleness replied 4 months ago
Re: Google Search Bar [HELP] well.. this is what the URL looks like after a search: http://www.google.com/search?hl=en&q...=f&oq=&aqi= g10 you would have to get the handle of the browser I would think and send it: "http://www.google.com/search?hl=en&q=" & searchTextbox.Text & "&aq=f&oq=&aqi=g10 making sure that ...

Negative0 replied 4 months ago
Re: Google Search Bar [HELP] To add to what SI stated you could just do a Process.Start on the URL and it will open the default browser. __________________ Negative 0 Blog | RegEx | Encrypting UN/PW in Web.Config | Enabling ASP.Net on IIS 6 | Port Numbers | ...

VBFiEND replied 4 months ago
Re: Google Search Bar [HELP] well a web browser is what im making, just not with the web browser component I'm using a tab control that acts like a web browser so I can do multiple tabs just like mozzila or IE. So the process.start wont do good for me. But I will try the other one, Thank you....

stateofidleness replied 4 months ago
Re: Google Search Bar [HELP] how does it "act" like a web browser without using the wb control? __________________ My Blog's VB Content: www.stateofidleness.com/blog Tutorials: Ping Network Device

VBFiEND replied 4 months ago
Re: Google Search Bar [HELP] I wish I could answer this more but I'm about to leave here is some of the code, Maybe you will understand by it. Code: Public Class Form1 Dim int As Integer = 0 Private Sub Loading(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserProgressChangedEventArgs) ...

stateofidleness replied 4 months ago
Re: Google Search Bar [HELP] exactly. you're using a browser. (maybe not in designer, but a browser control nonetheless) just do: vb Code: Browser. Navigate ( "http://www.google.com/search?hl=en&q=" & searchTextbox. Text & "&aq=f&oq=&aqi=g10) ...

VBFiEND replied 4 months ago
Re: Google Search Bar [HELP] Yah, I just said without the web browser component, Thanks for the code I'll try it out. __________________ Code: Private Sub VBFiEND_Stats () Stats.Show ' Visual Basic 2008 Express Edition. ' Visual Basic 6.0 ' Learning C# If...

VBFiEND replied 4 months ago
Re: Google Search Bar [HELP] It doesn't work. An error comes up saying "Search is not declared" __________________ Code: Private Sub VBFiEND_Stats () Stats.Show ' Visual Basic 2008 Express Edition. ' Visual Basic 6.0 ' Learning C# If my post helps Then ...

Runesmith replied 4 months ago
Re: Google Search Bar [HELP] Quote: Originally Posted by VBFiEND It doesn't work. An error comes up saying "Search is not declared" Then you should just declare the variable called Search that you are using somewhere inside your new code....

VBFiEND replied 4 months ago
Re: Google Search Bar [HELP] What code would I use to declare it? __________________ Code: Private Sub VBFiEND_Stats () Stats.Show ' Visual Basic 2008 Express Edition. ' Visual Basic 6.0 ' Learning C# If my post helps Then Rate it! End If End Sub...

 

Top contributing authors

Name
Posts
VBFiEND
11
user's latest post:
Google Search Bar [HELP]
Published (2009-08-17 17:13:00)
Re: Google Search Bar [HELP] It worked great, Thanks. +rep __________________ Code: Private Sub VBFiEND_Stats () Stats.Show ' Visual Basic 2008 Express Edition. ' Visual Basic 6.0 ' Learning C# If my post helps Then Rate it! End If End Sub
stateofidleness
6
user's latest post:
Google Search Bar [HELP]
Published (2009-08-15 22:46:00)
Re: Google Search Bar [HELP] that's a generic name I gave to show you how to code it. you have to replace "searchTextbox.Text" with whatever control holds your user's search term. it looks like it might be "ComboBox1.Text" __________________ My Blog's VB Content: www.stateofidleness.com/blog Tutorials: Ping Network Device
Runesmith
4
user's latest post:
Google Search Bar [HELP]
Published (2009-08-17 07:07:00)
Re: Google Search Bar [HELP] Quote: Originally Posted by VBFiEND I changed the code to combobox1.text And I took the combobox1 out and put in a textbox and changed it back to textbox#.text Thats not the problem... The problem is the word "Search" it keeps coming up "Not declared" Change "searchTextBox#.text" to "TextBox#.text" . Just to be extremely clear - replace the #...
Negative0
1
user's latest post:
Google Search Bar [HELP]
Published (2009-08-13 18:39:00)
Re: Google Search Bar [HELP] To add to what SI stated you could just do a Process.Start on the URL and it will open the default browser. __________________ Negative 0 Blog | RegEx | Encrypting UN/PW in Web.Config | Enabling ASP.Net on IIS 6 | Port Numbers | Creating GUIDs | Start->Run | Modifying the default class
Radjesh Klauke
1
user's latest post:
Google Search Bar [HELP]
Published (2009-08-14 07:16:00)
Re: Google Search Bar [HELP] Which "search" isn't decleared? I can't find any in your code. __________________
motil
1
user's latest post:
Google Search Bar [HELP]
Published (2009-08-17 06:00:00)
Re: Google Search Bar [HELP] i just did it two days ago and this: Code: Browser.Navigate("http://www.google.com/search?hl=en&q=" & searchTextbox.Text & "&aq=f&oq=&aqi=g10") show work. can you copy paste the address you get after your browser control navigate to google? __________________ * Rate It If you Like it...

Related threads on "VBForums - Visual Basic and VB .NET Discussions and More!":

Related threads on other sites:

Thread profile page for "Google Search Bar [HELP]" on http://www.vbforums.com. This report page is a snippet summary view from a single thread "Google Search Bar [HELP]", located on the Message Board at http://www.vbforums.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity