Jump to content

[Help]Visual Studio 2010 , Login System


Mailamea

Recommended Posts

So i am currently making a login system like windows, and its due tomorrow, i have come up with a code that works with the layout but my mind can't anymore of this i've been trying for days how to solve this and i cannot.

 

Heres what i meant:

 

If TextBox1.Text = "" Or TextBox2.Text = "" Or TextBox3.Text = "" Or TextBox4.Text = "" Or TextBox5.Text = "" Then MsgBox("Fill all the Forms Please", MsgBoxStyle.Critical, "Fill the Forms")
        Me.Button1.Enabled = False Else if TextBox4.Text = TextBox5.Text Then Me.Button1.Enabled = True MsgBox("Congrates! Your Account Is Created", MsgBoxStyle.Information, "Congratulation")
        Form2.Show()
        Me.Hide()
        My.Settings.password = TextBox4.Text My.Settings.username = TextBox3.Text My.Settings.Save() My.Settings.Reload() Else End If End If If Not TextBox4.Text = TextBox5.Text Then MsgBox("Error,Password Doesnt Match!", MsgBoxStyle.Critical, "Error") TextBox4.Text = String.Empty TextBox5.Text = String.Empty End If

 

 

"the ones that are underlined and bold are the ones that have "end of statement expected error""

 

Please Help

thanks

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...