I want to make a login for my application, not using a database, for now.
I figured something like this:
Im getting a cannot convert to boolean or something.Code:Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click If UsernameTextBox.Text = "Josh" & PasswordTextBox.Text = "mypass1" Then Me.Hide() Else If MsgBox("Sorry User Name Or Passord Is Incorrect") End If End Sub
Please help, very new to this. Some Java experience




Reply With Quote