>>What happens if you try using the object reference:
>>
>>OLEContainer1.Object.Connect()
>
>I'm not using an OLEContainer. I just have the winsock control directly on the form. When I call Thisform.sktMain.Connect, it just calls the connect event code.
Jay,
Did you registered the winsock control with VFP and drop it onto you form from the toolbar? VFP really can't host an ActiveX control natively. It needs to put it into either an OLE Bound control or an OLE container. Either way, there should be an Object property.
-Mike