Well, in the OCX on the original form, I send it a character string. Not sure what the code below (from Hugo) is exactly trying to do.
>What should GetData method of WinSock receive? It looks like it should be an object and not a string from the error.
>
>>Trying to use this, but getting an error that @StrData does not evaluate to an object. I know the THISFORM needs to be taken care of, but this is the line before that. Any help appreciated.
>>
>>
>>
>> **********************************************************
>> PROCEDURE DMSWinsockControlEvents_DataArrival(bytesTotal AS NUMBER) AS VOID HELPSTRING "Occurs when data has been received from the remote computer"
>>
>> strData = SPACE(256)
>>
>> THIS.oSock.OBJECT.GETDATA(@strData)
>> THISFORM.txtOutput.VALUE = strData
>>
>>