Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need function call to obtain my IP address
Message
 
 
To
17/04/2002 11:56:46
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00645934
Message ID:
00645940
Views:
31
This message has been marked as the solution to the initial question of the thread.
>Does anybody have a function call that will allow me to obtain my own IP address at runtime? My Fox app installs a MSSQL Desktop Engine, and I'd like to tell them at install time what the IP is to access the Engine via the internet.
>
>The only places the IP appears in my registry, a GUID is part of the path, and I can't be sure which GUIDs can be relied on to be on any machine my software is installed on.
>
>TIA
oSocket = CreateObject("MSWinsock.Winsock")
? oSocket.LocalIP
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform