Results 1 to 7 of 7

Thread: Winsock won't close {RESOLVED}

Threaded View

  1. #1

    Thread Starter
    Lively Member vb_paladin's Avatar
    Join Date
    May 2003
    Location
    USA
    Posts
    102

    Winsock won't close {RESOLVED}

    I have a listbox containing user's computer names. When I click on a name, my single winsock control connects to that user's computer fine. But when I click on a different name, I have the code
    VB Code:
    1. Winsock1.Close: DoEvents
    to close Winsock1 and enable it to connect to that user. But the event

    Private Sub Winsock1_Close()

    End Sub

    never fires and therefore Winsock1 never closes. How can I make it close??
    Last edited by vb_paladin; Jul 6th, 2003 at 10:01 AM.

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