0 Members and 1 Guest are viewing this topic.
...And?
Just the code. Feel free to just copy and paste out on here
Public Class Form1 Dim password = "password" Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = password Then MsgBox("Thank you for logging in!") Me.Close() Else MsgBox("Password incorrect.") End If End Sub
Input box and a while loop my teacher says it only need to be four lines
If your going to help then why not follow instructions?Rich guy: make me a blue houseDerp: mngr kay hffjhfRich guy: make it bluederp builds red houseGet the point?You probably just read the title and thought "hurr I'll show you login"