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?
Printable View
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?
Use the WithEvents command when declaring the control.
Public WithEvents myControl As Winsock
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.