> Need help with Visual Basic, really simple question that can be solved with basic knowledge!?

Need help with Visual Basic, really simple question that can be solved with basic knowledge!?

Posted at: 2014-12-18 
So I got this code on a button:

If txtPassword.Text = "123" Then

MsgBox("Password correct!")

formLogin.Show()

Else

MsgBox("Incorrect password!")

End If

I want the first password form to be closed when the formLogin opens.

But when I add Me.Close() the application gets an error.