InvisibleApp Object [Visio 2003 SDK Documentation]

InvisibleApp
Multiple objects

Represents an invisible instance of Microsoft Office Visio 2003. The properties of the InvisibleApp object are identical to those of the Application object.

Version added

2000

Remarks

You can use the InvisibleApp object when you want to take advantage of Automation in Visio without end-user interaction or knowledge.

An external program typically creates or retrieves an Application or InvisibleApp object before it can retrieve other Visio objects from that instance. Use the Microsoft Visual Basic CreateObject function or the New keyword to run a new instance. Set the value of the InvisibleApp object's Visible property to True to show it.

Note  You cannot use the Visual Basic GetObject function to retrieve an InvisibleApp object for an instance of Visio that is already running. Attempts to do so will fail.

Use the Documents, Windows, and Addons properties of an InvisibleApp object to retrieve the Documents, Windows, and Addons collections of the instance.

Use the ActiveDocument, ActivePage, or ActiveWindow property to retrieve the currently active Document, Page, or Window object.

Use the BuiltInMenus, BuiltInToolbars, CustomMenus, CustomToolbars, or CommandBars properties to access the InvisibleApp object's menus and toolbars.

ActiveDocument is the default property of an InvisibleApp object.

Note  Code in the Microsoft Visual Basic for Applications (VBA) project of a Visio document can use the Visio global object instead of a Visio Invisible App object to retrieve other objects.

Properties | Active property | ActiveDocument property | ActivePage property | ActivePrinter property | ActiveWindow property | AddonPaths property | Addons property | AlertResponse property | AutoLayout property | AutoRecoverInterval property | AvailablePrinters property | Build property | BuiltInMenus property | BuiltInToolbars property | COMAddIns property | CommandBars property | CommandLine property | ConnectorToolDataObject property | CurrentScope property | CustomMenus property | CustomMenusFile property | CustomToolbars property | CustomToolbarsFile property | DefaultAngleUnits property | DefaultDurationUnits property | DefaultTextUnits property | DefaultZoomBehavior property | DeferRecalc property | DialogFont property | Documents property | DrawingPaths property | EventInfo property | EventList property | EventsEnabled property | FullBuild property | HelpPaths property | InhibitSelectChange property | InstanceHandle32 property | IsInScope property | IsUndoingOrRedoing property | Language property | LanguageHelp property | LiveDynamics property | Name property | ObjectType property | OnDataChangeDelay property | Path property | PersistsEvents property | ProcessID property | PromptForSummary property | SaveAsWebObject property | ScreenUpdating property | Settings property | ShowChanges property | ShowProgress property | ShowStatusBar property | ShowToolbar property | StartupPaths property | Stat property | StencilPaths property | TemplatePaths property | TraceFlags property | TypelibMajorVersion property | TypelibMinorVersion property | UndoEnabled property | UserName property | VBAEnabled property | VBE property | Version property | Visible property | Window property | WindowHandle32 property | Windows property

Methods | AddUndoUnit method | BeginUndoScope method | ClearCustomMenus method | ClearCustomToolbars method | ConvertResult method | DoCmd method | EndUndoScope method | EnumDirectories method | FormatResult method | FormatResultEx method | InvokeHelp method | OnComponentEnterState method | PurgeUndo method | QueueMarkerEvent method | Quit method | Redo method | RenameCurrentScope method | SetCustomMenus method | SetCustomToolbars method | Undo method

Events | AfterModal event | AfterResume event | AppActivated event | AppDeactivated event | AppObjActivated event | AppObjDeactivated event | BeforeDocumentClose event | BeforeDocumentSave event | BeforeDocumentSaveAs event | BeforeMasterDelete event | BeforeModal event | BeforePageDelete event | BeforeQuit event | BeforeSelectionDelete event | BeforeShapeDelete event | BeforeShapeTextEdit event | BeforeStyleDelete event | BeforeSuspend event | BeforeWindowClosed event | BeforeWindowPageTurn event | BeforeWindowSelDelete event | CellChanged event | ConnectionsAdded event | ConnectionsDeleted event | ConvertToGroupCanceled event | DesignModeEntered event | DocumentChanged event | DocumentCloseCanceled event | DocumentCreated event | DocumentOpened event | DocumentSaved event | DocumentSavedAs event | EnterScope event | ExitScope event | FormulaChanged event | KeyDown event | KeyPress event | KeyUp event | MarkerEvent event | MasterAdded event | MasterChanged event | MasterDeleteCanceled event | MouseDown event | MouseMove event | MouseUp event | MustFlushScopeBeginning event | MustFlushScopeEnded event | NoEventsPending event | OnKeystrokeMessageForAddon event | PageAdded event | PageChanged event | PageDeleteCanceled event | QueryCancelConvertToGroup event | QueryCancelDocumentClose event | QueryCancelMasterDelete event | QueryCancelPageDelete event | QueryCancelQuit event | QueryCancelSelectionDelete event | QueryCancelStyleDelete event | QueryCancelSuspend event | QueryCancelUngroup event | QueryCancelWindowClose event | QuitCanceled event | RunModeEntered event | SelectionAdded event | SelectionChanged event | SelectionDeleteCanceled event | ShapeAdded event | ShapeChanged event | ShapeExitedTextEdit event | ShapeParentChanged event | StyleAdded event | StyleChanged event | StyleDeleteCanceled event | SuspendCanceled event | TextChanged event | UngroupCanceled event | ViewChanged event | VisioIsIdle event | WindowActivated event | WindowChanged event | WindowCloseCanceled event | WindowOpened event | WindowTurnedToPage event

Parent Objects

Child Objects | Addons Object | ApplicationSettings Object | Document Object | Documents Object | EventList Object | Page Object | UIObject Object | Window Object | Windows Object

See Also | Application object