alright guys its late here so I am gonna make this quick and simple.
This is a basic tutorial on how to password lock your programs in VB.net (2008).
first of all create a new form on your project and call it whatever. eg "passlock.vb"
Place inside this form 2 textboxes and one button.
doublt click the button and type...
- Code:
-
dim user as string = textbox1.text
dim pass as string = textbox2.text
dim realuser as string = "Yourusername"
dim realpass as string = "Yourpass"
If realuser = user then
if realpass = pass then
messagebox.show("authentication confirmed"
end f
end if
So the first textbox is your username box and the second is a password box.
Thats fairly basic right?
I will add more stuff and make it easier to understand later.