Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get the IP from the WS
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00198096
Message ID:
00198119
Views:
22
>I am looking of a WinApi function to get the IP address of the WS from VFP. Any one know how to do this?

The easiest way I know of to get this is using the WinSock automation object; the LocalIP property will give you the IP address of the current connection. The MSDN has detailed documentation on the PEMs of the WinSock control, and it specifically states that it works with VFP.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform