How to make a basic web browser.
Step one.
Get visual basic 2008 here.
Create a new form, select web app.
Step two.
Create 5 buttons, a web browser, and a text box. Tidy it up, make it cool.
Step three
The coding! Ok first, the five buttons are: Go, refresh, back, forward, home and stop.
So for each buttons or what ever I give you the code, double click the object, and copy&paste the code I give. Let's do this!
Go button
Home button
Refresh button
Back button
Forward button
Stop button
Then press F5 and you're done! I hope this helped you! I might do another TuT on advanced browsers. Have fun!
reference:hackforums.
Get visual basic 2008 here.
Create a new form, select web app.
Step two.
Create 5 buttons, a web browser, and a text box. Tidy it up, make it cool.
Step three
The coding! Ok first, the five buttons are: Go, refresh, back, forward, home and stop.
So for each buttons or what ever I give you the code, double click the object, and copy&paste the code I give. Let's do this!
Go button
WebBrowser1.Navigate(TextBox1.Text)
Home button
WebBrowser1.gohome()
Refresh button
WebBrowser1.Refresh()
Back button
WebBrowser1.GoBack
Forward button
WebBrowser1.GoForward
Stop button
WebBrowser1.Stop
Then press F5 and you're done! I hope this helped you! I might do another TuT on advanced browsers. Have fun!
reference:hackforums.