program run in multiple users.im new in visual basic i make a simple program
but it only work for single user i want to make it available for at least 5
users to log in with their own password.can someone please help me.
thank you very much to all.....
here is my sample program
Private Sub cmdok_Click() If txtPass = "admin" Then MsgBox ("Welcome!! " & txtUser.Text & " You have been logged in") frmWelcome.lblWelcome.Caption = "Welcome " frmAuth.txtUser.Text = A frmAuth.Hide frmMonitoring.Show Else MsgBox ("Sorry!! You are not authorized to log in. Please Try Again ") End If End Sub
MOD EDIT: Code Tags Added