>>>>>>>>>>>>>>>>>>>>>>>
... would be great - but i obviously cant use Close() - as it's a keyword - even though the winsock control does.. is there a solution to this - or maybe an easier way to do all of it?
>>>>>>>>>>>>>>>>>>>>>>>
Hey Andrew. So, you are creating a new active X control, right? In that case, couldn't you just map the methods to the UserControl object rather than raising events? In that case, the use of Close() would be fine....
Public Sub Winsock1_Close
UserControl.Close()
End Sub
.... I don't have the time to duplicate your situation right now, so I hope that I am not missing something. I will admit that my ActiveX control creation in VB is limited to a grand total of TWO controls.... but I have not raised events in those circumstances, just mapped them to corresponding UserControl methods.
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell