In Visual Basics, have you ever wanted to make a login form?
Well then, I'll show you how!
Change label 1's text to "Username", and label 2's text to "Password", then the button's text to "Login".
If TextBox1.Text = "username" And TextBox2.Text = "password" Then Form2.ShowDialog() Else MsgBox("Sorry, The Username or Password was wrong.", MsgBoxStyle.Critical, "Information")
(Ignore the code in the image, i was tired and wrote the wrong code :P)
You can also, to make it look more like a login, go to properties for the 2nd TextBox and then change the PasswordChar to '*'.
If it doesn't work, comment please :3