[Tutorials] Mega Post of Visual Basic Tutorials !

Posts 16–30 of 31 · Page 2 of 3
Password Protecting Your Programs (Creds: JoshA56)


Compatibility: Visual Basic 6.0

Level: Beginner

What You Need To Have:

-A command button

-A Textbox


Process:

Double click on the command button so the code window opens and enter in this:

Code:
Private Sub Command1_Click()

If text1.text <> "Your Password Here" Then

'they entered in an INCORRECT password

MsgBox "Incorrect"

Else

'they entered in the CORRECT password

MsgBox "Correct"

End If

End Sub
Glad to see you can copy and paste >.>
Quote Originally Posted by IceGuru View Post
Glad to see you can copy and paste >.>
Yes I got this information from the net...
It cost alot of search time, so you can be thankfull, and if you have nothing with VB piss off than. Thanks you.
good job bro.
bravo (applause).
Quote Originally Posted by whitten View Post
good job bro.
bravo (applause).
Thank you, Thanks you, lol.
Very nice.. Who cares if you did C+p.. (not me)



Tyvm
Quote Originally Posted by backup View Post
Very nice.. Who cares if you did C+p.. (not me)



Tyvm
Haha, I'm glad I could help you.
Woot awesome dude!

Thanked every one of them.

Saves me a lot of time then searching my self :P
Quote Originally Posted by reversflux View Post
Woot awesome dude!

Thanked every one of them.

Saves me a lot of time then searching my self :P
Thats the reason why I posted it here! ^__^
What is Disable and Enable??
Quote Originally Posted by Pixie View Post
What is Disable and Enable??
It's like On/Off.
Are all of these VB6?
You are amazing! Thanks!
Quote Originally Posted by D3sTrUvTiVe FlaRe View Post
thanks v much, really helpful
Press thanks than, thats helpfull for me
Posts 16–30 of 31 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?