Requirements:
*Windows
*Internet connection
*Visual Basic 2008 or above
 Tutorial:


Ok, First we begin by creating a new windows form application.
And Call it "Login Application" and press enter

Change the form properties to your needs.
Now add 2 labels, 2 textboxes and 2 buttons:

Click the login button twice and enter the following codes:


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If TextBox1.Text = "YourUserName" Then
            If TextBox2.Text = "YourPassword" Then
                Form2.Show()
                Me.Visible = False
            End If
        End If
    End Sub

Now add a new windows form

  The new windows form will be called Form2 .

Form2 will then be your actual program after the user has logged in.