PDA

View Full Version : [TuT] Login Screen



m60
08-21-2009, 05:35 PM
Ok so i dint see this posted any where and its nice haveing hacks u make locked to where only people you want useing can use it.
Make sure your login screen is Form1

Ok this sint hard, Also you need to know some basic code for this (not hard at all)

Ok first is you need 2 txt boxes 2 buttons and 2 labels.

Name them:
Labes --
Name one "username" and Outher "password"
Buttons -- name one "Login" other "leave"

Ok time to work. Ok now to make it easy make sure Textbox 1 is the username one (as in put TextBox1 next to the Lable "username")
Now after you have each textbox next to there label duble click the "leave" button.

Now write or copy-n-past this --

Me.hide
To have it say somethign to the person after clicking the button put this B4 it --

Msgbox ("Your Msg here")

Now time for the login button. Duble click it and type this or CnP it --

If TextBox1.Text = "Username goes here" Then
If TextBox2.Text = "Password goes here" Then
form2.show
Me.hide
MsgBox "Your Welcome msg here"
End if
End if

And there you go. Now if you want multipl login names and passwords just do the same but after the first ones "End If" (The last one)
And there you have it, yuo have a login screen. Now if you want the Password to be in "***" chars you need to click textbox1 and on the Bottom left corner look for "password char" enter any symble or letter you want there and anything typed in it while be that.

Well i hope this helped any one who needed it, and also i hope you liked it. I may post a webrower but from what i say there where alot. So ya have fun with this.
P.S.
If you get the need to post this on any other site make sure to give me credits for it.

ownerkid33
08-21-2009, 05:44 PM
does nothing... i click leave nad it closes...

Vescovo
08-21-2009, 06:04 PM
post it working
and i will crack it in 5 mins.

m60
08-21-2009, 06:31 PM
post it working
and i will crack it in 5 mins.

Is this spam? cause i dont get what ur meaning

th4natos
08-21-2009, 09:01 PM
He's saying that it sucks.

m60
08-22-2009, 12:24 AM
He's saying that it sucks.

oh well, I dont much give a dam what ppl think about my stuff.

Vescovo
08-22-2009, 09:03 AM
i don't think it sux
good job on the coding and a great idea.
just it is very insecure and not the safest way to protect a program.
although concept is great.

77owner77
08-22-2009, 12:28 PM
lol yeah its just a simple vb login you can also add .. rong password. instead of nothing happens when its wrong you can set it so it ends.. also me.hide is bad as it just hides form so when you close it all its still running.

Vescovo
08-22-2009, 12:33 PM
the visual basic language might be powerful.
But doesnt come close to c++

th4natos
08-22-2009, 02:32 PM
lol yeah its just a simple vb login you can also add .. rong password. instead of nothing happens when its wrong you can set it so it ends.. also me.hide is bad as it just hides form so when you close it all its still running.

Then use me.close, that will save alot of resources. But make sure you change exit when last form closes in the properties.

ViVoxity
08-23-2009, 04:43 PM
If he used themida and other protection stuff, then you wouldn't crack it.
So click thanks and leave him be.
I didn't know how to do this before.. Its a good hello world tutorial as well..

So thank you for giving us this tut and I hope to see more of your work later.

Vescovo
08-23-2009, 05:13 PM
If he used themida and other protection stuff, then you wouldn't crack it.
So click thanks and leave him be.
I didn't know how to do this before.. Its a good hello world tutorial as well..

So thank you for giving us this tut and I hope to see more of your work later.

Themida is quickly unpacked

m60
08-23-2009, 08:10 PM
Themida is quickly unpacked

But if i wanted i could pack a virus if some one tryed to unpack it. But im not an ass so i wouldnt that and im still trying to learn how to code Sudden Attack NA so till then i wont have any hacks to give 8( If any one knows how id love you 4 every if you would teach me.

gangwarfare
02-25-2010, 02:17 AM
Saving username or passwords into the executable will mean each user needs new build,
Also Easy to crack, Best use SQL database to get users and passwords
or use Webbrower to get users and pws and parse em from a file either way works

Aizen
02-25-2010, 02:19 AM
Another one bumping a very old thread...