Hi, I am new to this place and found this by searching for a log in system tutorial for a Visual Basic 2008 Express Edition. So far I have been able to put a code to have 3 users on:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox1.text = "Joshua" And textbox2.text = "fw5je4ty" Then
MsgBox("You have successfuly loged in!")
Form2.Show()
Me.Hide()
ElseIf textbox1.text = "Jason" And textbox2.text = "sj9sl4fc" Then
MsgBox("You have successfuly loged in!")
Form2.Show()
Me.Hide()
ElseIf textbox1.text = "Eric" And textbox2.text = "1337" Then
MsgBox("You have successfuly loged in!")
Form2.Show()
Me.Hide()
ElseIf TextBox1.Text = "" Or textbox2.text = "" Then
MsgBox("Please enter Username/Password")
ElseIf MsgBox("Invalid username/password, browser will now shut down") Then
Application.Exit()
End If
End Sub
End Class
But I do not want to have to re-edit this program every time 1 new user signs up for it, meaning I would appreciate any and all help on what to use as a SQL Username/Password database and how to code it. Do not get me wrong, I do not want ALL the coding, I want some serious help, anyone that is will to msn me or skype with me to help me build this.
LobeRoni