I've got a .txt file with lots of passwords in, in the following format:
(passwords must be between 12-15 characters)
password1
password2
password3
i want to use a text box that allows the user to enter a password & upon the correct password being entered they are allowed to proceed to the next form.
something like this, i would guess:
Dim sr as StreamReader = File.OpenText("C:\test.txt")
Dim password as string
if PasswordTextBox = 'a value inside the text file'
then 'proceed to next screen'
else 'password incorrect'
Thanks