How it works?
- Design user interface (see figure 1)
- Add Buttons and WebBrowser control
- Make a program statement inside the form load event. (see code snippet)
- Run the program
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.WebBrowser1.Navigate("m.facebook.com")
End Sub
Private Sub btnBackward_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBackward.Click
WebBrowser1.GoBack()
End Sub
Private Sub btnForward_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnForward.Click
WebBrowser1.GoForward()
End Sub
Programming IDE: Visual Studio 2010