Create Your Own WebBrowser In Vb.Net
What You'll Need :
1 Toolstrip + ToolStrip Controls, 1 WebBrowser.
Now lets begin the tutorial .
# First thing , drag a toolstrip from the toolbox onto the form. Make sure that the Grip Visibility is set to Hidden.
[IMG]http://i49.[censored].com/28kukqv.png[/IMG]
# Now we will add the controls. You will need:(6 ToolStripButtons, 1 ToolStripLabel, and 1 ToolStripTextBox).
Now we will set the names of the controls.
The first button will be called back, the second forward, the third refresh, the fourth stop, the fifth home and the last GO.
For the GO button set the alignement property to right. Now that you have the names we can set each of the button's DisplayStyle to Image.
Set the proper images for each button.
Now we will name the label and the textbox on the toolstrip.
For the Label set the text property to
Code
URLNow the textbox will be named url and the text leave blank.
# Next drag the WebBrowser Control onto the form.
[IMG]http://i50.[censored].com/11c9vti.png[/IMG]
Set the name property of the webbrowser to
Code
webBrowser# Now for the coding.
Double-Click on the Form and enter this code:
Code
webBrowser.GoHome().Code
webBrowser.GoBack().Code
webBrowser.GoForward().Code
webBrowser.Refresh().Code
webBrowser.Stop().Code
webBrowser.GoHome().Double-Click on the webBrowser and enter this code:
Code
url.Text = e.Url.ToString().# This is what your final design should look like.
[IMG]http://i46.[censored].com/ws1aja.png[/IMG]
Enjoy and Have fun by adding some more functions ✌



![[Image: nGihZvS.png]](https://i.imgur.com/nGihZvS.png)