Simple Log In before running app?

networkmancer's Avatar, Join Date: Aug 2009
Newbie Member
I am new to this forum but I am not here just to leech. As soon as I know more about vb I will surely answer people's questions if i know its answer but here is my question

how to make a simple Log In before launching my application. Just a simple Log in that uses if - else function . Ill set only 1 password for that because our assignment really is to make a log in screen and make a good IU on it. Hope you can help me. A downloadable project is much appreciated.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Make the start form to ask for login and if the credentials are right move on to form2 or else give a message box
0
ManzZup's Avatar, Join Date: May 2009
Skilled contributor
if txtlogin.text = "iam" and txtPwd.text = "dumb" then
frmOK.show()
else
msgbox("NOPE")
end if