You are viewing our Forum Archives. To view or take place in current topics click here.
[ Tut ] How to create any searcher in Visual Basic with DL
Posted:
[ Tut ] How to create any searcher in Visual Basic with DLPosted:
Status: Offline
Joined: Jun 19, 201113Year Member
Posts: 145
Reputation Power: 9
Welcome To MiiST3R's tutorial on how to create any searcher in Visual Basic
First you will add 2 buttons and a text box as shown below
Then double click on the "Search Google" button
Enter the following code:
Process.Start("iexplore", "http://www.google.com/search?hl=en&q=" + TextBox1.Text + "&aq=f&oq=")
The Process.Start("iexplore" will open the search in google, to open the search in other browsers replace the "iexplore" with:
firefox - Firefox
chrome - Google Chrome
safari - Safari
chrome - Google Chrome
safari - Safari
Then go back to the design view and double click on the "Search YouTube" button
This time enter the following code:
Process.Start("iexplore", "http://www.youtube.com/results?search_type=&search_query=" + TextBox1.Text + "&aq=f")
The same goes again for changing the browser you wish to open the search in
If you wish to create a search for any other search engines etc.. Here is how to do it
If i search youtube into bing i will receive the following link
http://www.bing.com/search?q=youtube&go=&qs=n&sk=&sc=8-5&form=QBLH&filt=all
As you can see there is the youtube in the search bar everything before needs to go in the first set of exclamation marks and everything after it need to go in the second set of exclamation marks, so it would look like this :
Process.Start("iexplore", "http://www.bing.com/search?q=" + TextBox1.Text + "&go=&qs=n&sk=&sc=8-5&form=QBLH&filt=all")
DOWNLOAD LINK
http://www.megaupload.com/?d=HUERF1JX
Thank the topic if it helped
You are viewing our Forum Archives. To view or take place in current topics click here.