Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need function call to obtain my IP address
Message
 
 
À
17/04/2002 11:56:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00645934
Message ID:
00645940
Vues:
32
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform