Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IP address from VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00141462
Message ID:
00141483
Views:
35
>I came across this little snippet while surfing the net and thought some might find it useful. It give the user ip address.
>
>
>* Show local ip address
>IPSocket = CreateObject("MSWinsock.Winsock")
>IPAddress = IPSocket.LocalIP
>MessageBox ("Local IP = " + IPAddress)
>
Hi John,

Oh, that's sweet and easy.:-) The object that's returned has some other useful properties too, such the host name.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform