ArcPad Scripting Object Model
HostName Property
See Also  Example  Send comments on this topic.
INet Object : HostName Property

Glossary Item Box


Returns the host name of the computer.

Property type

Read-only property


variable = object.HostName

Return Type



Opens a URL and displays the results in a message box.
INET Example (VBScript)Copy Code
Sub OpenESRI
  Dim objNet, strURL, varData
  Set objNet = Application.CreateAppObject("INET")
  strURL = ""
  '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

See Also

© 2013 All Rights Reserved.