login : On Error GoTo A Dim UserName As New System.IO.StreamReader(CurDir() & "/" & TextBox1.Text & ".

txt") Dim UserName2, Password As String UserName2 = UserName.ReadLine() Password = UserName.ReadLine UserName.Close() If Password = TextBox2.Text Then MsgBox("welcome") TextBox2.Text = "" register : Dim objwriter As New System.IO.StreamWriter(TextBox2.Text & ".txt") objwriter.WriteLine(TextBox2.Text) objwriter.WriteLine(TextBox3.Text) objwriter.Close() Label4.Text = "Register"

Sign up to vote on this title
UsefulNot useful