Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 How to: Get the IP address of the machine
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00893826
Message ID:
00894337
Vues:
18
Ashley
In his case, this won't work for him, since he will get the internal IP address, not the external ( public ) one.
Jaime

>An alternative I've used:
>
>! ipconfig > c:\ip.txt
>cIP=filetostr('c:\ip.txt')
>cIP=substr(cIP,at('IP Address',cIP),at('Subnet Mask',cIP)-at('IP Address',cIP))
>cIP=substr(cIP,at(': ',cIP)+1)
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform