Francisco H Tapia
my.lists at verizon.net
Mon Mar 3 15:23:24 CST 2003
Just spoke to the author, he mentioned that there seems to be some bulky handling with this inet control, (on the MS side :S) anyways if you guys wanted to check out which source I meant here is the full link... http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=13413&ln gWId=1 The control is called "Microsoft Internet Transfer Control, Version 6.0 (SP4)" btw, I tried END... and it still does not help out... :( -Francisco http://rcm.netfirms.com ----- Original Message ----- From: "Drew Wutka" <DWUTKA at marlow.com> To: <dba-vb at databaseadvisors.com> Sent: Monday, March 03, 2003 6:34 AM Subject: RE: [dba-VB] Closing an application : Isn't the Inet control for internet stuff? I don't think that is the same : as the Winsock control, which is for the lower level TCP/IP communications. : The leak with the Winsock control is documented in the knowledge base : though, so maybe you should search there about the Inet control. : : Drew : : -----Original Message----- : From: Francisco Tapia [mailto:my.lists at verizon.net] : Sent: Sunday, March 02, 2003 7:51 PM : To: dba-vb at databaseadvisors.com : Subject: Re: [dba-VB] Closing an application : : : hm, wininet.dll, I dim a control as Inet (or rather the original author : did). I then "Unload ME" for the form.... : The jist is... call the .exe, it AUTO-CHECKS w/o the need of the user : clicking a button, but does provide feedback to show what the heck it is : doing... once done it launches the app and unloads itself, but it must be : this "leak" that is causing problems.. I have VB6 SP5 applied, but I suppose : this problem is still not fixed... as I mentioned i'm unloading the FORM, : not the contorl and all I want to do is kill the app once it is done.. but : of course I would not want it to harvest any memory from the OS once gone... : it will currently run on win2K but eventually XP, and even ME... so I would : like to take care of any potential memory leaks... : : -Francisco : http://rcm.netfirms.com/ : ----- Original Message ----- : From: "Drew Wutka" <DWUTKA at marlow.com> : To: <dba-vb at databaseadvisors.com> : Sent: Saturday, March 01, 2003 8:09 PM : Subject: RE: [dba-VB] Closing an application : : : : 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 : : _______________________________________________ : : 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 :