VB2008/2010 - Webbrowser
Hello, in this tutorial I'll teach you how you can make your very own (basic) webbrowser using Visual Basic 2008 or 2010.
Start by creating a new project and call it Webbrower .
Then click OK.
Once your project has loaded, add:
1x split container, and set the Orientation propertie to Horizontal.
Now add a webbrowser component to the lower panel.
Then add 4 buttons and a textbox to the upper panel:
*Double click the 'GO' button and add the following codes:
WebBrowser1.Navigate(TextBox1.Text)
*Go back to the design of form1 and double click the 'HOME' button on your form and add the following codes:
WebBrowser1.GoHome()
*Go back to the design of form1 and double click the 'FORWARD' button and add the following codes:
WebBrowser1.GoForward()
*Go back to the design and double click the 'BACK' button and add the following codes:
WebBrowser1.GoBack()
*And now go back to the design of your form and double click the webbrowser and add the following codes:
TextBox1.Text = WebBrowser1.Url.ToString()
*Press F5 and check if everything is working. If so, you have made your very own webbrowser.
If something does not work, please make sure that you have typed everything correctly !