[dba-VB] Closing an application

Drew Wutka DWUTKA at marlow.com
Sat Mar 1 22:09:00 CST 2003


Inet protocol?  Do you mean the Winsock control?  Just an FYI, there is a
known memory leak issue with the Winsock control in VB 6.  It occurs when
you unload an instance of the control.  (To prevent the leak, never 'unload'
instances of the control, just reuse them.  When you are done using them,
unload the entire form....it's a nasty memory leak too.)

Drew

-----Original Message-----
From: Francisco Tapia
To: dba-vb at databaseadvisors.com
Sent: 3/1/03 9:30 PM
Subject: Re: [dba-VB] Closing an application

ah ha!, so END is acceptable in a VB environment... and would kill any
lingering processes in my called module then right... I'm using the inet
protocol but for some reason it seems to hang every once in a while....

-Francisco
http://rcm.netfirms.com/
----- Original Message -----
From: "Drew Wutka" <DWUTKA at marlow.com>
To: <dba-vb at databaseadvisors.com>
Sent: Friday, February 28, 2003 5:15 PM
Subject: RE: [dba-VB] Closing an application


: Ditto.  End is what you use to close a VB App.  Sure, if you have one
form,
: and nothing loaded in the background, you can just unload the form (or
give
: the user the 'x')  but End stops the execution of your VB .exe, thus
: unloading everything.
:
: Drew
:
: -----Original Message-----
: From: Gregory K. Hazzard [mailto:ghazzard at aelfen.net]
: Sent: Friday, February 28, 2003 6:24 PM
: To: dba-vb at databaseadvisors.com
: Subject: RE: [dba-VB] Closing an application
:
:
: I have heard this in the past - and I must admit to being guilty of
: using End, but I've never really know the difference, other than End
: exits your app no matter where it is, and unload requires you to call
: each form individually.
:
: What makes End such a No-no?
:
: Greg
:
:
: -----Original Message-----
: From: dba-vb-admin at databaseadvisors.com
: [mailto:dba-vb-admin at databaseadvisors.com] On Behalf Of Mike and Doris
: Manning
: Sent: Friday, February 28, 2003 3:40 PM
: To: dba-vb at databaseadvisors.com
: Subject: RE: [dba-VB] Closing an application
:
: "Unload Me" hides the form and removes it from memory so you are
: definitely
: doing the right thing.  As with Access, "END" is a no-no.
:
: Doris Manning
: Database Administrator
: Hargrove Inc.
: www.hargroveinc.com
:
:
:
:
: _______________________________________________
: dba-VB mailing list
: dba-VB at databaseadvisors.com
: http://databaseadvisors.com/mailman/listinfo/dba-vb
: http://www.databaseadvisors.com
: _______________________________________________
: dba-VB mailing list
: dba-VB at databaseadvisors.com
: http://databaseadvisors.com/mailman/listinfo/dba-vb
: http://www.databaseadvisors.com
:


_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com



More information about the dba-VB mailing list