Click to See Complete Forum and Search --> : Winsock
Wolfie
Jun 13th, 2000, 03:27 PM
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?
FirePoweR
Jun 15th, 2000, 01:41 PM
Use the WithEvents command when declaring the control.
Public WithEvents myControl As Winsock
Wolfie
Jun 21st, 2000, 06:08 PM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.