hi guys,well im a cho0b myself and i have a hard time learning what all these pros are saying in code so i decided to make my own tutorial
MMk all code will be in green and im not just going to give u the code in a download attchment u have to read this haha
mmmk first off open VB 2010 or VB 2008 dosnt matter there practiclly the same lol
make
2 Labels
then
2 TextBox's
then
2 Buttons
these can all be found in the toolbox
place then like you would a log-in system
now its time 2 code!
first off click button one and without clicking anythin else type in "login"
then click button two and type in "Cancel"
ok so then double click the "cancel" button
and all this code stuff should come up
ok so enter
Me.close()
that code makes it so when you click that button your app closes (handy eh?)
ok now that you have done that,double click onthe "login" button and type the following code
if textbox1.text = "username" and textbox2.text = "password" then
msgbox "Welcome,Thank you for login'" then
Me.hide()
else
msgbox "FATAL ERROR,IT APPERARS YOUR A FAG!"
end sub
after that it should work,if you want to change the username and password,just change "username" to like "Jimmy VB" and "password" to "lol"
or whateva,if i missed anythin please comment on it ,i didnt have VB open coz i have 2 re-install it so... anyway have fun cho0bs!