>I am getting an error:
>Object class is invalid for this container
>when I run this command from Command window:
>loWriteToServerSocket = NEWOBJECT('OleWinSock', 'tasktimetracking.vcx')
>
>Any idea?
>
>Thanks
You need to place the Winsock control into a container first and save that as a class. Then you can add it to _screen which is what you are doing from the command window. Some Activex controls cannot be placed directly in _screen. But once in a container, the container (with the Activex) can be ADDOBJECT or NEWOBJECT to _screen.
Bernard