i have this code in my program
Dim account As String
Dim id As String
Dim password As String
Dim position As Integer
accountsfile = New System.IO.StreamReader("accounts.txt")
account = accountsfile.ReadLine()
position = InStr(account, " ")
id = Microsoft.VisualBasic.Left(account, position - 1)
password = Mid(account, position + 1)
If mskAccount.ClipText = id And txtPassword.Text = password Then
grporderform.Visible = True
Else
MsgBox("Account or Password is incorrect. Try again.")
mskAccount.Focus()
End If
but it only reads the first line in the txt file.
i have other ids and passwords in the txt file, so how do i code it so that it will read those ones as well?
