Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


vb8 password protection
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Fri Sep 28, 2007 5:54 pm    Post subject: vb8 password protection Reply with quote

i was wondering about the code....and can i put like a user name in so that like i can have like 5 users that can log in on it, possible? like having a user name and password like a login on a game kinda.....if not....then whats the code for the password protection on the vb8, cause i wanted to password protect my trainer
Back to top
View user's profile Send private message Visit poster's website
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Fri Sep 28, 2007 6:00 pm    Post subject: Reply with quote

Code:
Private Sub cmdLogin_Click()
    Select Case txtName.Text
    Case "Admin"
        If txtPassword.Text = "Admin'sPassword" Then
            Call msgbox("Logged in")
        Else
            Call msgbox("User found, invalid password")
        End If
    Case "OMAR"
        If txtPassword.Text = "ALLAHHHHH" Then
            Call msgbox("Logged in")
        Else
            Call msgbox("User found, invalid password")
        End If
    Case Else
        Call msgbox("Invalid username")
    End Select
End Sub

There's a example for you. Smile

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Fri Sep 28, 2007 6:19 pm    Post subject: Reply with quote

Xenephobe wrote:
There's a example for you. Smile


Ahahahahahaha.

Anyways, password protecting in VB is stupid. All they need to do is decompile it and take the passwords out of the code.
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Fri Sep 28, 2007 6:31 pm    Post subject: Reply with quote

Flyte wrote:
Xenephobe wrote:
There's a example for you. Smile


Ahahahahahaha.

Anyways, password protecting in VB is stupid. All they need to do is decompile it and take the passwords out of the code.

It's pretty much the best you can do in VB. Rolling Eyes
And by the way... I guess you've never made typos, eh?

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Fri Sep 28, 2007 6:34 pm    Post subject: Reply with quote

Xenephobe wrote:
It's pretty much the best you can do in VB. Rolling Eyes
And by the way... I guess you've never made typos, eh?


Nobody is perfekt. Razz
Back to top
View user's profile Send private message
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Fri Sep 28, 2007 6:35 pm    Post subject: Reply with quote

thanks alot xenephobe
and thanks flyte for the spam post....

edit: hold up hold up xenephobe thats not vb8 code.....cause vb6 ends in end sub
vb8 ends in end class....thats vb6 code...not vb8
Back to top
View user's profile Send private message Visit poster's website
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Fri Sep 28, 2007 6:40 pm    Post subject: Reply with quote

killar456 wrote:
thanks alot xenephobe
and thanks flyte for the spam post....

edit: hold up hold up xenephobe thats not vb8 code.....cause vb6 ends in end sub
vb8 ends in end class....thats vb6 code...not vb8

VB8 uses End Class and End Sub. End Class ends all the code in a form, End Sub ends the code in a event. I only have Delphi installed atm, so sorry if there are any problems in the code...

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Fri Sep 28, 2007 6:49 pm    Post subject: Reply with quote

probally not any problems
so i only have to rename the cmd button right? or do i have to rename the text to?
text box or rich text boxes?
Back to top
View user's profile Send private message Visit poster's website
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Fri Sep 28, 2007 7:14 pm    Post subject: Reply with quote

killar456 wrote:
and thanks flyte for the spam post....


It was a perfectly valid post. It is not my fault that you cannot accept the fact that VB is a horrible language for everything, and that includes security.
Back to top
View user's profile Send private message
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Fri Sep 28, 2007 7:33 pm    Post subject: Reply with quote

VB is a good beginners language. Good for making trainers and getting the feel of what its like to be a programmer. Once you get more advanced in it, more on to something more complicated like C or C++.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Fri Sep 28, 2007 7:38 pm    Post subject: Reply with quote

MegaForum wrote:
VB is a good beginners language. Good for making trainers and getting the feel of what its like to be a programmer. Once you get more advanced in it, more on to something more complicated like C or C++.


VB is the worst possible language for a newbie to learn, it ruins their mind. The best language to start off learning is C, then go to ASM.
Back to top
View user's profile Send private message
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Fri Sep 28, 2007 7:44 pm    Post subject: Reply with quote

Flyte wrote:
MegaForum wrote:
VB is a good beginners language. Good for making trainers and getting the feel of what its like to be a programmer. Once you get more advanced in it, more on to something more complicated like C or C++.


VB is the worst possible language for a newbie to learn, it ruins their mind. The best language to start off learning is C, then go to ASM.



People who don't mind using it, can use it for making simple games. All though it does mess minds up because,
1. your not really learning code, just simple commands like ie- text2.txt
but like in c++ you needa use a cout >> " <insert text > " for a comment or w/e.
2. good for trainers. Ive seen many good trainers in vb6, only because i imagine its easier.
3. I personally don't know vb well. I practice with c++, and from my knowledge, c++ is unversil with unlimited possibilities as to what you can code in it. VB is OK for beginners, but your right it kinda messes them up. Surprised
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Fri Sep 28, 2007 7:50 pm    Post subject: Reply with quote

MegaForum wrote:
People who don't mind using it, can use it for making simple games. All though it does mess minds up because,
1. your not really learning code, just simple commands like ie- text2.txt
but like in c++ you needa use a cout >> " <insert text > " for a comment or w/e.

Exactly, you aren't learning how to code, thats what screws up your mind. VB leads you into thinking that it is actual programming.

Also: C != C++ (Yes, thats != not <>)
MegaForum wrote:
2. good for trainers. Ive seen many good trainers in vb6, only because i imagine its easier.

Maybe flash trainers. Confused
MegaForum wrote:
your right it kinda messes them up. Surprised

I accept your apology. Razz
Back to top
View user's profile Send private message
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Fri Sep 28, 2007 7:51 pm    Post subject: Reply with quote

Flyte wrote:
MegaForum wrote:
People who don't mind using it, can use it for making simple games. All though it does mess minds up because,
1. your not really learning code, just simple commands like ie- text2.txt
but like in c++ you needa use a cout >> " <insert text > " for a comment or w/e.

Exactly, you aren't learning how to code, thats what screws up your mind. VB leads you into thinking that it is actual programming.

Also: C != C++ (Yes, thats != not <>)
MegaForum wrote:
2. good for trainers. Ive seen many good trainers in vb6, only because i imagine its easier.

Maybe flash trainers. Confused
MegaForum wrote:
your right it kinda messes them up. Surprised

I accept your apology. Razz


ty Very Happy
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Fri Sep 28, 2007 7:56 pm    Post subject: Reply with quote

I'm really starting to dislike Visual Studio; but right now I'm looking for a good C++ Compiler/IDE. Any suggestions? Smile [/offtopic]
_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites