Jump to content

[Help] End of Statement Expected [error]

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
lil-fino

lil-fino

    Newbie

  • Members
  • PipPip
  • 15 posts
Ok i keep getting this error and i need help :(


If TextBox1.Text = My.Settings.Username,And texbox2.text = My.Settings.password Then
Form3.Show()
Me.Hide()
End If
End Sub
End Class

#2
LuthfiHakim

LuthfiHakim

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 765 posts
Is the comma between "My.Settings.Username,And texbox2.text" really there? You shouldn't put comma in that context.