Ive made a Login System but when I can create the same account multiple times with the same Username and password. How do make it so I can only sign up with 1 Username and not the same one.
My code im using for the sign up button is
My code im using for the sign up button is
Code:
Private Sub ButtonX1_Click(sender As Object, e As EventArgs) Handles ButtonX1.Click
My.Settings.Users.Add(TextBoxX1.Text + "-" + TextBoxX2.Text + "1")
Form1.Show()
Me.Close()
End Sub