Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading Public IP from Windows
Message
De
16/08/2006 08:58:57
 
 
À
18/07/2005 11:57:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 6 SP3
OS:
Windows XP SP2
Divers
Thread ID:
01033553
Message ID:
01145963
Vues:
19
>I do not want to go to web pages in the net that tell us our IP.

Why not? I would like to know why you don´t want to do this.

Check these links, basically you use URLDownloadToFile and DeleteUrlCacheEntry Functions to obtain a file with your ip. Use the page you like most, then use FileToStr(), then VFP string functions to extract the IP if needed.

http://vbnet.mvps.org/index.html?code/internet/getpublicip.htm
http://vbnet.mvps.org/resources/tools/getpublicip.shtml

http://www.showmyip.com/
http://www.showmyip.com/simple/

http://pchelplive.com/ip.php
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform