Facebook Viewer in VB.Net

The program illustrates how to use Web Browser control in Visual Studio 2010. You can browse and navigate webpages through Visual Basic.Net program.
How it works?
  1. Design user interface (see figure 1) 
  2. Add Buttons and WebBrowser control 
  3. Make a program statement inside the form load event. (see code snippet) 
  4. Run the program 
Code snippet:

Private Sub Form1_Load(ByVal sender As ObjectByVal e As System.EventArgsHandles Me.Load
        Me.WebBrowser1.Navigate("m.facebook.com")
End Sub


Private Sub btnBackward_Click(ByVal sender As System.ObjectByVal e As System.EventArgsHandles btnBackward.Click
        WebBrowser1.GoBack()
End Sub

Private Sub btnForward_Click(ByVal sender As System.ObjectByVal e As System.EventArgsHandles btnForward.Click
        WebBrowser1.GoForward()

End Sub

Screenshot


Programming Language: VB.net
Programming IDE: Visual Studio 2010