The Application object provides methods for showing a particular item of data in a running instance of OfficeTalk and for determining the currently viewed item.
The following methods are available from the Application object:
Application Methods |
ViewItem | Changes to the required mode and displays the item of data according to the passed in ID. |
GetViewedItem | Returns the data type and ID of the item currently being viewed in OfficeTalk. |
GetLoginName | Gets the login name of the currently logged on user |
Set app = CreateObject("OfficeTalk.Application")
To latch on to a running instance of OfficeTalk, create the Application object in the following way:
Set app = GetObject(,"OfficeTalk.Application")
More: