How to Create a Login Form in vb.net
Step1:-
Open Visual Basic
Create Windows Form
Step2:-
Code:-
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If TextBox1.Text = "Enter Your UserName" And TextBox2.Text = "Enter Your Password" Then
MsgBox("Successfully Logined")
Else
MsgBox("Wrong UserName And Password")
End If
End Sub
End Class
____________________________________________________
Copy or Download Txt File
___________________________________________________
Comments
Post a Comment