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] Unload all?

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

Joined: 07 Dec 2006
Posts: 406

PostPosted: Wed Jan 16, 2008 8:04 pm    Post subject: [vb6] Unload all? Reply with quote

is the
Code:
Unload.All

command unloads all forms before ending or does it unload a form alled All

_________________
Dark Byte wrote:
ce can certainly damage hardware let's say you have a robotarm attached to your computer, and the software limits usually block it from ripping out it's own cpu. If you remove that limit and then issue the command to rip out the cpu, sure, say goodbye to your hardware
Back to top
View user's profile Send private message
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Wed Jan 16, 2008 9:10 pm    Post subject: Reply with quote

Code:
Unload Form1
Unload Form2
Unload Form3

Lit all your forms with they name

_________________
Back to top
View user's profile Send private message
sangeli
Master Cheater
Reputation: 0

Joined: 07 Dec 2006
Posts: 406

PostPosted: Wed Jan 16, 2008 9:28 pm    Post subject: Reply with quote

eh simple as that. Thx
_________________
Dark Byte wrote:
ce can certainly damage hardware let's say you have a robotarm attached to your computer, and the software limits usually block it from ripping out it's own cpu. If you remove that limit and then issue the command to rip out the cpu, sure, say goodbye to your hardware
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 16, 2008 11:33 pm    Post subject: Re: [vb6] Unload all? Reply with quote

sangeli wrote:
is the
Code:
Unload.All

command unloads all forms before ending or does it unload a form alled All


Unload.All doesn't exist in VB6. You need to unload each object yourself when you are done with them.

And remember:

Form1.Hide or Form1.Visible = False

Is NOT the same as

Unload Form1

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

Joined: 07 Dec 2006
Posts: 406

PostPosted: Wed Jan 16, 2008 11:38 pm    Post subject: Reply with quote

yaya i know, u get memory links. whatever.
_________________
Dark Byte wrote:
ce can certainly damage hardware let's say you have a robotarm attached to your computer, and the software limits usually block it from ripping out it's own cpu. If you remove that limit and then issue the command to rip out the cpu, sure, say goodbye to your hardware
Back to top
View user's profile Send private message
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Thu Jan 17, 2008 8:55 am    Post subject: Reply with quote

I Already Told Him See:


pepsiguy_2 wrote:
Code:
Unload Form1
Unload Form2
Unload Form3

Lit all your forms with they name

_________________
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 17, 2008 9:03 am    Post subject: Reply with quote

Erm..
What do you guys mean??
There are plenty of ways to do what he wanted in the first place.

Code:
Dim f As Form
For Each f In Forms
  Unload f
  Set f = Nothing
Next f


Code:
Public Sub UnloadAllForms(Optional FormToIgnore _
  As String = "")

  Dim f As Form
  For Each f In Forms
    If f.Name <> FormToIgnore Then
      Unload f
      Set f = Nothing
    End If
  Next f
   
End Sub



creds goes to Peter Aitken for writing the artical at Jan 14, 2005 8:00:00 AM for http://articles.techrepublic.com.com

_________________
Intel over amd yes.


Last edited by NINTENDO on Thu Jan 17, 2008 9:23 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
stealthy17
Expert Cheater
Reputation: 0

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

PostPosted: Thu Jan 17, 2008 9:11 am    Post subject: Reply with quote

Nice that you give him credits but it's pretty standard to do it like that... At least that's one of the ways to do it...

Credits are mostly given if it's some sort of special function(s) that's worth crediting but who cares it's kind of you ^^
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 17, 2008 9:21 am    Post subject: Reply with quote

stealthy17 wrote:
Nice that you give him credits but it's pretty standard to do it like that... At least that's one of the ways to do it...

Credits are mostly given if it's some sort of special function(s) that's worth crediting but who cares it's kind of you ^^

Then why the hell do you(=you ppl) say that you cannot do it..
It's a waste of time when you do so.

I didn't want ppl to think that i wrote it cuz i didn't so don't be so

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
stealthy17
Expert Cheater
Reputation: 0

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

PostPosted: Thu Jan 17, 2008 9:23 am    Post subject: Reply with quote

I didn't say that i couldn't do it.
Used to do it a lot when i used VB6 actively.

Yea for the people who don't know it's handy.
But still it's no advanced function or whatsoever it's basic usage.

That for in my eyes no credits are needed to be given.

But don't worry I'm not trying to bash you for doing so.
Just my 5 cents.

Ps.
Still think it's cute Razz
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 17, 2008 9:25 am    Post subject: Reply with quote

stealthy17 wrote:
I didn't say that i couldn't do it.
Used to do it a lot when i used VB6 actively.

Yea for the people who don't know it's handy.
But still it's no advanced function or whatsoever it's basic usage.

That for in my eyes no credits are needed to be given.

But don't worry I'm not trying to bash you for doing so.
Just my 5 cents.

Ps.
Still think it's cute Razz

when i said you i meant the other freaks with 2000+ posts.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
stealthy17
Expert Cheater
Reputation: 0

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

PostPosted: Thu Jan 17, 2008 9:26 am    Post subject: Reply with quote

I see I see.
That's cool Wink

Still cute!
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 17, 2008 9:28 am    Post subject: Reply with quote

stealthy17 wrote:
I see I see.
That's cool Wink

Still cute!

^^

_________________
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   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