Results 1 to 3 of 3

Thread: Control Arrays

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    6

    Control Arrays

    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]
    ------------------------------
    Hello super nintendo Chalmers. By: Ralph Wiggum
    ------------------------------

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    How are you loading it then?

    Mark
    -------------------

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    6

    control arrays

    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...
    ------------------------------
    Hello super nintendo Chalmers. By: Ralph Wiggum
    ------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width