matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: VB Help
code: Dim strUsername, strPassword as string
Open "text1.text" For Input As #1
Do Until EOF(1)
Input#1, strUsername, strPassword
If strUsername = txtUsername And strPassword = txtPassword Then
'Do stuff if password and username match
Exit Do
End If
Loop
Close#1
This post was edited on 09-13-2005 at 06:49 PM by matty.
|
|