Im trying to make a password input box but i dont know how to make it read and check if the password is right from file pwp.pw, so if password is right then it will let me come to form1.
This code is inside of form1 in form1_load
If File.Exists("pwp.pw") = True Then
Dim myFileStream As FileStream
Dim myStreamReader As StreamReader
myFileStream = New FileStream("pwp.pw", FileMode.Open, FileAccess.Read)
myStreamReader = New StreamReader(myFileStream)
InputBox("Enter Password")
If InputBox() = myStreamReader = True Then
Me.ShowDialog()
Else
End
End If
End If