Application

<< Click to Display Table of Contents >>

 

Application

Link This property returns the Application object related to the current object's context. This is a read-only property. With this Application object, users can search for other objects in an application. The next script contains an example of using this property.

Sub Screen1_Click()
  ' When clicking the screen, sets a value
  ' and displays a message box
  set obj = Application.GetObject("Data.InternalTag1")
  obj.Value = 100
  MsgBox "Value of InternalTag1: " & obj.Value
End Sub

Was this page useful?