The following sample displays location information of the host:
Dim n As New LookupNS
With n.Query("yahoo.com").Location
Debug.Print "Latitude " & .Latitude
Debug.Print "Longitude " & .Longitude
Debug.Print "Altitude " & .Altitude
End With
The Location object supports the following properties and methods:


| Name | Description | |||
| Altitude | Retrieves the altitude of the center of the sphere described by the Size property, in centimeters. | |||
| HorizontalPrecision | Specifies the horizontal precision of the data, in centimeters. | |||
| Latitude | Specifies the latitude of the center of the sphere described by the Size property, in thousandths of a second of arc. | |||
| Longitude | Retrieves the longitude of the center of the sphere described by the Size property, in thousandths of a second of arc, rounded away from the prime meridian. | |||
| Size | The diameter of a sphere enclosing the described entity, in centimeters. | |||
| Version | Retrieves the Version number of the representation. | |||
| VerticalPrecision | Specifies the vertical precision of the data, in centimeters. |