Creating A advanced Web Browser in Visual Basic 2010 (2008 can be used too)
Post: #1
|
|||
|
|||
| Creating A advanced Web Browser in Visual Basic 2010 (2008 can be used too)
1.) Create a new project, Windows Form Application, click ok.
2.) Resize it to the suitable position.
3.) Create 5 buttons, and put them in the position I put them in. 4.) Rename the buttons. Here's what you should change them too.
Code:
Button 1 = Back Or <<<5.) Create a TextBox, and put it in line of the gap between the 5 buttons. 6.) Create 2 extra buttons, rename Button 6 to Search Bing , And rename Button 7 to Search Google. Create a textbox and put them in the order I do. 7.) Insert a webbrowser, go to properties, and resize it to fit just under the buttons. Now for the coding, you may not have knowledge with coding, I'll tell you. 8.) Double click on Back and type in underneath Private sub,
Code:
WebBrowser1.GoBack()9.) Do this for all the buttons, except use the appropriate codes. CODES:
Code:
Forward : WebBrowser1.GoForward()Thats all! Now Debug it by pressing F5 on your keyboard. Test if it works by trying to type in the second text box we made earlier, and click search Google, then it should search. |