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 


help in vb6

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
lolium
Expert Cheater
Reputation: 0

Joined: 16 Jun 2007
Posts: 209
Location: AREA 51!!!!!!!!!!!!!!!!!!!!

PostPosted: Sat Nov 10, 2007 6:53 am    Post subject: help in vb6 Reply with quote

how do you make a command so when you click the button it closes the trainer please help
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Sat Nov 10, 2007 7:00 am    Post subject: Reply with quote

Form1.Close? Something like that.
Back to top
View user's profile Send private message MSN Messenger
lolium
Expert Cheater
Reputation: 0

Joined: 16 Jun 2007
Posts: 209
Location: AREA 51!!!!!!!!!!!!!!!!!!!!

PostPosted: Sat Nov 10, 2007 7:01 am    Post subject: Reply with quote

no that way didn't wurk 4 me
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Tosy
How do I cheat?
Reputation: 0

Joined: 20 Jul 2007
Posts: 5

PostPosted: Sat Nov 10, 2007 7:35 am    Post subject: Reply with quote

unload me
me.hide
me.visible=false
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 Nov 10, 2007 8:24 am    Post subject: Reply with quote

_ToSy_ wrote:
unload me
me.hide
me.visible=false


After you unload the form, me.hide and me.visible no longer work. You will get a "Out of memory" stack error if you try to use the form after it is unloaded.

In any case, 'End' terminates the program, but, you should not use it unless you are positive all objects in your program are unloaded and nulled out.

Anything you use with Set needs to be Set to Nothing, and any extra forms and such need to be unloaded.

If your trainer is simply 1 form, just use Unload Me then End.

Code:
Private Sub Command1_Click()
    Unload Me
    End
End Sub

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
lolium
Expert Cheater
Reputation: 0

Joined: 16 Jun 2007
Posts: 209
Location: AREA 51!!!!!!!!!!!!!!!!!!!!

PostPosted: Sat Nov 10, 2007 11:02 am    Post subject: Reply with quote

ty 4 help
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    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