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.
In This Topic
    GetObject(String) Method
    In This Topic
    Gets an object by its object moniker.
    expression.GetObject( _
       ByVal objectMoniker As String _
    ) As Object
    where expression is a variable that represents a ApplicationObject Object


    The object moniker used to get the object.

    Return Value

    The object.
    Objects represent major functional areas. Currently, Frame is the only supported object moniker. See each supported object's documentation for its moniker.
    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