This tutorial will basically be explaining to some people who aren't as good at visual basic than others, how to make a pretty good security system, so if they have don't know how to improve their security, or don't know what type of method to use. than they can read this tutorial.
:: Client Side :: Make a new form called frmSecurity and make as many text boxes as you like(recommended 4 or more).
Make a command button and name it cmdSecure.
Go to frmLogin and double click the connect button and before end sub paste this in:
Code:
If txtUsername.text = [Administrator's Account Username] & txtPassword.text = [Administrators Account Password]
Msgbox " You are attempting to login with an administrative account, if you own the account you may proceed, if you do not than do not login because if you do you are bound to be caught and banned." Then
frmLogin.hide
frmSecurity.show
End if
End Sub
Next get ready for some editing in frmSecurity. Double click the text boxes.
If you are using 4 text boxes than paste each of these into the correct box.
Rename the first box Sec, the 2nd box Sec2, the third box to Sec3 and the fourth box to Sec4.
We will use the numbers 1,2,3, & 4 to pass the Security System and allow you to login with your administrative account.
Double click the "Secure" button and paste this in:
Code:
If Sec.text = 1 & Sec2.text = 2 & Sec3.text = 3 & Sec4.text = 4 Then
frmSecurity.hide
frmCharacters.show
I won't really put any server side tutorial up because you prety much have to go through the same process, but you have to open up the server source and add a frmSecurity form there.
I wish you luck if you are just learning to use visual Basic, but if you are already know how to use it than I hope my tutorial helped you. I wrote this tutorial from another family member's computer and he doesn't have visual basic so I tried to write this as error-free as possible, if there are any errors I will fix them when I test this out at home.
Thank you
!