Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,502,259
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-29-24 08:43 PM
Guest: Register | Login

0 users currently in Computing | 1 guest

Main - Computing - VB help New thread | New reply


interdpth
Posted on 04-25-07 05:27 AM Link | Quote | ID: 29935


Buzzy Beetle
Level: 44

Posts: 53/383
EXP: 593827
Next: 17458

Since: 02-22-07

Last post: 4102 days
Last view: 4075 days
Well I have this problem with my editor, when I go to close it, the form closes, but the application stays in memory forcing me to go through the process manager to kill it. Any help?

____________________
lawl blog

http://interdpths.blogspot.com/

Sukasa
Posted on 04-25-07 05:30 AM Link | Quote | ID: 29936


Red Birdo
Level: 92

Posts: 168/2112
EXP: 7691453
Next: 65484

Since: 02-19-07

Last post: 4451 days
Last view: 3223 days
yeah- you're not unloading all your forms. when you form.hide, it doesn't unload it from memory, so when you unload the other forms, that one stays in memoery, and thus the application doesn't close. In whichever forms is forced to close last, unload all other forms.

Acmlm
Posted on 04-25-07 05:33 AM (rev. 2 of 04-25-07 05:33 AM) Link | Quote | ID: 29937


Flurry
Level: 37

Posts: 222/251
EXP: 315121
Next: 23132

Since: 02-19-07
From: Mirabel, Québec, Canada

Last post: 6183 days
Last view: 1816 days




Flurry
#&postrank&
All you need is a "End" in the form's close or unload event, or whatever's called when you close it, that'll make it quit (or yeah, make sure all forms are closed)

____________________

Sukasa
Posted on 04-25-07 05:37 AM Link | Quote | ID: 29940


Red Birdo
Level: 92

Posts: 169/2112
EXP: 7691453
Next: 65484

Since: 02-19-07

Last post: 4451 days
Last view: 3223 days
Yeah, "End" works, but that wont' allow any Form_Unload(Cancel as Integer) subroutine to be called

HyperHacker
Posted on 04-25-07 07:39 AM Link | Quote | ID: 29969

...
Level: 73

Posts: 522/1220
EXP: 3367704
Next: 118164

Since: 03-25-07
From: no

Last post: 6094 days
Last view: 6078 days
For Each f In Forms
Unload f
Next
End

or something like that.

interdpth
Posted on 04-27-07 05:56 AM Link | Quote | ID: 30558


Buzzy Beetle
Level: 44

Posts: 54/383
EXP: 593827
Next: 17458

Since: 02-22-07

Last post: 4102 days
Last view: 4075 days
I got rid of all the .hide statements and still nothing works it still remains open just not seen

____________________
lawl blog

http://interdpths.blogspot.com/

Main - Computing - VB help New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.021 seconds. (321KB of memory used)
MySQL - queries: 57, rows: 71/72, time: 0.016 seconds.