Hi all, i am a student. Currently working on a course project which i would like to have the login function. Could anyone of you here teach me or show me the sample code to VB on how to write a login code. The login will be connected to mysql database in user table, and how to encrypt the password. I have my sample code here, i will show you guys later.
Also, my question is how do i compare the userid and password that the user has input to the database to chech whether the user is existed in the database. And, how do i create a welcome message to tell the user if he/she has been login successfully. Thanks
below are my simple login code:
Private Sub cmdLogin_Click()
Dim cnMySql As New rdoConnection
Dim sConnect As String
Dim sADOConnect As String
Dim sDAOConnect As String