Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtaining an IP address from a url
Message
De
04/02/2008 18:07:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01289293
Message ID:
01289361
Vues:
8
Great!
Worked like a charm.
Many thanks


<
You can use WMI to do that


loLocator = CREATEOBJECT('WBEMScripting.SWBEMLocator')
loWMI = loLocator.ConnectServer()
lcURL = 'yahoo.com'
loPingStatus = loWMI.Get([Win32_PingStatus.Address='] + lcURL + ['])

? loPingStatus.ProtocolAddress
<<
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform