Retrieves the IP address corresponding to a host name.
IP = DNS.GetIPByHost (Host as String)
| Where | Type | Optional | Default | Description |
|---|---|---|---|---|
| Host | String | host name |
String
Resolve host name |
Set DNS = CreateObject("TCPIP.DNS")
IP = DNS.GetIPByHost("www.microsoft.com") |
Object for resolving IP adress and host name.
Object for simple IP adress and host name resolution, ASP and VB TraceRoute/ping.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz