You can use mswinsck.msm merge module that comes with VFP7 and VFP8.
>I am reading IP address by using
>
>loSock = CREATEOBJECT('MSWinsock.Winsock.1')
>cIP = loSock.LocalIP
>
>
>But I have found out that the ocx is not installed by default on all Window systems. I found
>
>mswinsck.ocx dated 12/06/2000
>MSWINSCK.DEP dated 07/19/1997
>
>in my c:\windows\system32\ folder.
>
>What is the best way to distribute this ?
>Is it a Windows or a FoxPro component ?
>
>Can I just copy these two files to the \system32 folder on another system?
>
>or does it have to be registered or installed, or otherwise added as a COMPONENT when adding stuff to the InstallShield Modules ?
>
>Thanks for your help.
--sb--