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 


VB6- What's wrong with my keygen?

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
coder sal
Master Cheater
Reputation: 0

Joined: 11 May 2007
Posts: 304

PostPosted: Fri Mar 07, 2008 7:56 pm    Post subject: VB6- What's wrong with my keygen? Reply with quote

Edit: Problem solved. Source taken away from post.

Last edited by coder sal on Fri Mar 07, 2008 9:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
_Teizhcial_
Master Cheater
Reputation: 0

Joined: 10 Aug 2007
Posts: 276

PostPosted: Fri Mar 07, 2008 8:20 pm    Post subject: Reply with quote

You need End If for every if statement.

Example of the wrong way.

Code:
Private Sub Command1_Click()
If Label1.Caption = "1" Then
MsgBox ("yeah")

If Label1.Caption = "2" Then
MsgBox ("naww")
End If
End Sub


Example of the Right way.

Code:
Private Sub Command1_Click()
If Label1.Caption = "1" Then
MsgBox ("yeah")
End If

If Label1.Caption = "2" Then
MsgBox ("naww")
End If
End Sub

_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Mar 07, 2008 8:20 pm    Post subject: Reply with quote

How is that a keygen? You're not generating anything.
Back to top
View user's profile Send private message
coder sal
Master Cheater
Reputation: 0

Joined: 11 May 2007
Posts: 304

PostPosted: Fri Mar 07, 2008 8:34 pm    Post subject: Reply with quote

_Teizhcial_ wrote:
You need End If for every if statement.

Example of the wrong way.

Code:
Private Sub Command1_Click()
If Label1.Caption = "1" Then
MsgBox ("yeah")

If Label1.Caption = "2" Then
MsgBox ("naww")
End If
End Sub


Example of the Right way.

Code:
Private Sub Command1_Click()
If Label1.Caption = "1" Then
MsgBox ("yeah")
End If

If Label1.Caption = "2" Then
MsgBox ("naww")
End If
End Sub


Ya thnx Teiz, I tried doing that it gives another error, I guess the best way is to do it with 1 textbox or 3 buttons and 3 textboxes. I'm gonna change the declarations, and make everything effect for text1.text.

Edit done, its on http://forum.cheatengine.org/viewtopic.php?t=209607
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Mar 08, 2008 1:03 pm    Post subject: Reply with quote

This type of software creation is not allowed. This constitutes as warez.

Locked.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
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