Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Current TCP/IP Address to VFP
Message
 
To
18/03/1999 18:06:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00199522
Message ID:
00199683
Views:
20
>Does anybody know of a way to recieve the Current Workstations TCP/IP address in to Vfp as a String. I have been trying to mess with ws2_32.dll but am having no luck. I have also spent 4 hours pouring over the Developers network CD. Any help would be appreciated.

Bob,

Just to clarify what Ed said, if you issue CREATEOBJECT("MSWinsock.Winsock.1"), the object returned has a property named LocalIP, which will contain the local IP Address as a string.
George

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

Click here to load this message in the networking platform