Results 1 to 2 of 2

Thread: Problem with winsock

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    7

    Winsock stays in memory...how to stop?

    I'm creating an instant messaging client, and in that I have a timer that frequently calls the winsock control and attempts to connect to a site, in order to test whether the user is connected to the internet. That part works fine, however, if the program gets terminated while winsock is connecting, the program stays in memory and won't close completely.

    I have the following code in my form_terminate sub:

    tmrOnlineCheck.enabled = false
    mainWinsock.close
    unload all
    Set frmList = Nothing
    end

    But even with all that crap in the end sub, it STILL stays in memory....anyone know what I should do?

  2. #2
    New Member
    Join Date
    May 2000
    Posts
    14
    Try moving it to form_unload
    Well, it's a pentium parrot, besides, it's only a decimal.

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