Are you Using createObject("MSWinsock.Winsock.1") ? If so, it will not work at run time because it needs a design time license. To work around it create a form and drop the winsock control into it. Then:
loForm = CreateObject("YourFormWithTheWinsockControl")
? loForm.oWinsock.LocalIP
.....
loForm.Release()
>Hi all,
>
>I copied an example of a tcpipserver I found on the internet and made some changes to let him work with our scales.
>I tried to make a setup and to send it to the customer for testing purposes.
>Winsock doesn't register well.
>I noticed the same thing on PC's where vfp6 has never been installed, once it has been installed it's OK.
>Does someone know this problem, and better the solution.
>
>Thanks and regards.
>
>Alain