You can make a login box to another form.
Steps
1. Make a second form.
2. Go back to form1.vb.
3. Add 2 buttons and 2 textbox's.
4. Name 1 button Login and the other Cancel Or Exit.
5. Double click Cancel Or Exit and type
6. Now double click Login and type
7.Your done !
Steps
1. Make a second form.
2. Go back to form1.vb.
3. Add 2 buttons and 2 textbox's.
4. Name 1 button Login and the other Cancel Or Exit.
5. Double click Cancel Or Exit and type
Code:
end
Code:
if textbox1.text = "Username" + textbox2.text = "Password" then
form2.show
me.hide
else
msgbox("Username or Password is incorrect or missing",msgbox.style.critical,"Error")
7.Your done !