Visual Basic is becoming a great platform for making windows application. Today we are going to create or make simple web-browser using vb.
Lets go to the Steps:
- First create a new project.
- Now create a six button, one textbox and one label and web-browser from the toolbox (eg. Button for Refresh, Backward, Forward, Surf, home, and last button for credit button and textbox for url addressbar).
- And now, arrange and name them like i did.
- Now double click on each and every single button and type the following code.
Refresh WebBrowser1.Refresh() Go webbrowser1.navigate(TextBox1.Text) Forward WebBrowser1.GoForward() Backward WebBrowser1.GoBack() Exit Close() Click here if you like Dim vinay As Stringvinay = "http://www.binayagurung.com.np"WebBrowser1.Navigate(vinay)
- replace http://www.binayagurung.com.np with your own.
- Now at last and final step, publish or run the program.
You are done!!
No comments:
Post a Comment