Click to See Complete Forum and Search --> : Control Arrays
aXiSPoWeR
Jun 12th, 2000, 09:09 PM
Can anyone tell me a statement for checking if control in an array is loaded or to skip it??? because how i have my program now..it just keeps creating winsock controls and never unloads them so im affraid that it would crash sooner or later...can anyone help me out??
[Edited by aXiSPoWeR on 06-13-2000 at 10:11 AM]
Mark Sreeves
Jun 15th, 2000, 04:53 PM
How are you loading it then?
aXiSPoWeR
Jun 15th, 2000, 07:58 PM
for loading winsock control:
Private Sub tcpServer_ConnectionRequest(index As Integer, ByVal requestID As Long)
intMax = intMax + 1
Load tcpServer(intMax)
tcpServer(intMax).Accept requestID
for unloading winsock control:
Private Sub tcpServer_Close(index As Integer)
tcpServer(index).Close
Unload tcpServer(Index)
how do i check in other functions that it was unloaded? or must i keep an array of which ones were loaded and unloaded??
plz help...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.