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 


Lock please

 
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
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Jan 23, 2008 10:38 am    Post subject: Lock please Reply with quote

I've gotten my answer. Lock please.
_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*



Last edited by I'm C.H. on Wed Jan 23, 2008 3:45 pm; edited 3 times in total
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: Wed Jan 23, 2008 10:40 am    Post subject: Reply with quote

Code:
Private Sub Command1_Click()
    If Text1.Text = "" Then
        MsgBox "You need to enter text into the box.", vbCritical, "Error."
        Exit Sub
    End If
   
    '// Other code here if there is text...
End Sub

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Jan 23, 2008 10:42 am    Post subject: Reply with quote

I still get the message when a value IS entered.
_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Jan 23, 2008 10:45 am    Post subject: Reply with quote

This code will show the messagebox whenever you'll enter a value shorter than 1 letter.
Code:
Private Sub Command1_Click()
    If len(text1)<1
        MsgBox "You need to enter text into the box.", vbCritical, "Error."
        Exit Sub
    else
   
    '// Other code here if there is text...
end if
End Sub

_________________
Intel over amd yes.


Last edited by NINTENDO on Wed Jan 23, 2008 10:46 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Jan 23, 2008 10:46 am    Post subject: Reply with quote

CheatingHacker wrote:
I still get the message when a value IS entered.


Uhh? You shouldn't be, you sure you wrote it correctly? If for what ever strange reason you are still getting any message, try using:

Code:
If Len(Text1.Text) = 0 Then

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Jan 23, 2008 10:47 am    Post subject: Reply with quote

Naablet wrote:
Private Sub Command1_Click()
If len(text1)<1
MsgBox "You need to enter text into the box.", vbCritical, "Error."
Exit Sub
else

'// Other code here if there is text...
end if
End Sub


That is almost the same as the one above exept the If len(text1<1 that doesn't work Confused

_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Jan 23, 2008 10:47 am    Post subject: Reply with quote

Wiccaan wrote:
CheatingHacker wrote:
I still get the message when a value IS entered.


Uhh? You shouldn't be, you sure you wrote it correctly? If for what ever strange reason you are still getting any message, try using:

Code:
If Len(Text1.Text) = 0 Then

ye thats what i said right? there is no need to steal orders code!

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Jan 23, 2008 10:52 am    Post subject: Reply with quote

Edit: Nvm. Got it. Thanks
_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Jan 23, 2008 10:53 am    Post subject: Reply with quote

CheatingHacker wrote:
It still doesn't work. Still error message when entering value. My code:

Code:
Private Sub StylerButton4_Click()
    If Len(Text1.Text) = 0 Then
        MsgBox "You need to enter text into the box.", vbCritical, "Error."
        Exit Sub
    Else
    Game.Flash1.SetVariable "_root.hero._yscale", Text1.Text
End If
End Sub


what error message do u get?

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Jan 23, 2008 10:54 am    Post subject: Reply with quote

I got it working. nvm.
_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
stealthy17
Expert Cheater
Reputation: 0

Joined: 10 Apr 2007
Posts: 144
Location: The Netherlands

PostPosted: Wed Jan 23, 2008 11:02 am    Post subject: Reply with quote

why close it.. how selfish

others could be looking for the same
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Jan 23, 2008 11:04 am    Post subject: Reply with quote

stealthy17 wrote:
why close it.. how selfish

others could be looking for the same

I agree.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Jan 23, 2008 2:16 pm    Post subject: Reply with quote

stealthy17 wrote:
why close it.. how selfish

others could be looking for the same

Just because it gets locked doesn't mean it dissapears Rolling Eyes

_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Thu Jan 24, 2008 6:24 am    Post subject: Reply with quote

CheatingHacker wrote:
stealthy17 wrote:
why close it.. how selfish

others could be looking for the same

Just because it gets locked doesn't mean it dissapears Rolling Eyes

We are not dumb. But u have removed the your question so.. it's not gonna be easy to follow Wink or something.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
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