Help Plz

Posts 1–4 of 4 · Page 1 of 1
Help Plz
so ive managed to program a log in system in vb08
that makes accounts it checks if there already in use ect
but the thing is im stuck because i need to add users and let them loggin so some how i need to host this or somthing also i dont know what i would change My.Computer.FileSystem.DirectoryExists("C:Accounts ") to

here it is

Code:
If My.Computer.FileSystem.DirectoryExists("C:Accounts") = True Then
Else
        MkDir("C:Accounts")
End If
        If My.Computer.FileSystem.DirectoryExists("C:Accounts" + TextBox1.Text + "") = True Then
            MsgBox("Error, Account is already in Use", MsgBoxStyle.Critical)
        Else
            If TextBox1.Text = "" Then
                MsgBox("Error, Your Account Must have at least 1 Letter in it.", MsgBoxStyle.Information)
            Else
                If TextBox2.Text = "" Then
                    'If they did Not input a Password, Show an Error message.
                    MsgBox("Error, Please Input a Password for your Account")
                Else
                    MkDir("C:Accounts" + TextBox1.Text)
                    Dim Username As New System.IO.StreamWriter("C:Accounts" + TextBox1.Text + "" + "Username.txt")
                    Username.Write(TextBox1.Text)
                    Username.Close()
                    Dim Password As New System.IO.StreamWriter("C:Accounts" + TextBox1.Text + "" + "Password.txt")
                    Password.Write(TextBox2.Text)
                    Password.Close()
                    Me.Close()
                End If
            End If
        End If
any help would be appreciated as i suck at vb
2 post i give shit no to much time to edit
anyway
WHAT THE FUCK NO 1 KNOWS THIS SHIT
thats all
fuck you optimum2393
This might help U thou I did not understand exactly what U want I think this U want:


Visual basic 2008 login tutorial-Part 1 of 3


visual basic 2008 login tutorial-Part 2 of 3


visual basic 2008 login tutorial-Part 3 of 3


Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?