Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining an IP address from a url
Message
From
04/02/2008 18:07:06
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01289293
Message ID:
01289361
Views:
7
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform