I was wondering, how do I make it so users can login. I have an SQL database, I have a VPS, I have a VPS. I just need help setting it up and adding an account..
This is the login form:
Public Class Form1
Private Sub FlatToggle1_CheckedChanged(sender As Object)
End Sub
Private Sub FlatButton1_Click(sender As Object, e As EventArgs) Handles FlatButton1.Click
If FlatTextBox1.Text = "myusername" And FlatTextBox2.Text = "mypass" Then
FlatStatusBar1.Text = "Logging in..."
Me.Hide()
Dim oForm As Form2
oForm = New Form2()
oForm.Show()
oForm = Nothing
Else
FlatStatusBar1.Text = "Wrong username or password."
End If
End Sub
End Class
Super simple, easy to be cracked, and only 1 person can logon, which is me. Please help!