Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Framework Library / Attachmate.Reflection.Objects.Framework Library / ApplicationObject Object / GetObject(String) Method
The object moniker used to get the object.
Example
GetObject(String) Method
Gets an object by its object moniker.
Syntax
expression.GetObject( _
   ByVal objectMoniker As String _
) As Object
where expression is a variable that represents a ApplicationObject Object

Parameters

objectMoniker
The object moniker used to get the object.

Return Value

The object.
Remarks
Objects represent major functional areas. Currently, Frame is the only supported object moniker. See each supported object's documentation for its moniker.

For more about using the GetObject method, see:

Dynamically Open a Session

Open a Session From a Microsoft Excel Macro

Create a Session From a Microsoft Excel Macro

Copy Data Between Terminal Sessions

Example
The following example shows how to get the Frame object:
Sub MaximizeWorkspace()
'Dimension a frame variable
Dim f As Attachmate_Reflection_Objects.Frame
'Get the running frame object
Set f = Application.GetObject("Frame")
f.WindowState = FormWindowState_Maximized
End Sub
See Also