Returns the host name of the computer.
Read-only property
variable = object.HostName |
String
Opens a URL and displays the results in a message box.
INET Example (VBScript) | ![]() |
---|---|
Sub OpenESRI Dim objNet, strURL, varData Set objNet = Application.CreateAppObject("INET") strURL = "http://www.esri.com" 'Display the host name in a message box MsgBox objNet.HostName, vbOKOnly, "HostName" varData = objNet.OpenURL(strURL) 'Display the data in a message box. MsgBox varData, vbOKOnly, strURL Set objNet = Nothing End Sub |