How To Make a Searching Program

Blessing

User is banned.
Reputation
0
Here's a search program tutorial.

You Need:
1 Textbox
1 Button
3 Radio button

Renaming Texts (NOT THE NAMES):
Button1 = Search
RadioButton1 = Google
RadioButton2 = Yahoo
RadioButton3 = Conduit

Start with double click on your button and add this.
[vb]If RadioButton1.Checked Then
System.Diagnostics.Process.Start("http://www.google.com/search?hl=en&q=" + TextBox1.Text + "&aq=f&oq=") ' Opens your default browser and searches in Google what you typed in the TextBox.

ElseIf RadioButton2.Checked Then
System.Diagnostics.Process.Start("http://search.yahoo.com/search;_ylt...dwcwMwBG9yaWdpbgNzeWMEcXVlcnkDYXNkBHNhbwMw?p=" + TextBox1.Text) ' Opens your default browser and searches in Yahoo what you typed in the TextBox.

ElseIf RadioButton3.Checked Then
System.Diagnostics.Process.Start("http://search.conduit.com/Results.aspx?q=" + TextBox1.Text) ' Opens your default browser and searches in Conduit what you typed in the TextBox.

End If[/vb]

And you're done! ::yeye::
 
Wow nice thanks!
This program really helped. Instead of going to google or yahoo or conduit to search, you can just open the program, type in what you wanna search and it does it for you automatically!
 
Back
Top