Results 1 to 3 of 3

Thread: Winsock

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    South Africa, Centurion
    Posts
    8
    I have a class module in which I am trying to use Winsock. Because I do not have a form, it gets a bit rough. If I declare it as an object, I cannot trap its events. Please help?

  2. #2
    Member FirePoweR's Avatar
    Join Date
    Apr 1999
    Posts
    32
    Use the WithEvents command when declaring the control.

    Public WithEvents myControl As Winsock

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    South Africa, Centurion
    Posts
    8
    FirePoweR,

    Thanks for the tip, I tried it but still does not rais the events. Can you please send me some source code, maybe I'm missing something.

    Thanks
    Wolfie.

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