# AppGlobalClassObject Package
{: .no_toc }

The **AppGlobalClassObject** built-in package provides the `App` global object available in every twinBASIC project.

## Interfaces

- [_App](/tB/Packages/AppGlobalClassObject/_App/index.md) -- Interface implemented by the global `App` object, exposing executable metadata, version information, instance handle, and related properties.

## Properties

- [Build](/tB/Packages/AppGlobalClassObject/_App/Build.md) -- Returns the build-number component of the project version. Read-only.
- [Comments](/tB/Packages/AppGlobalClassObject/_App/Comments.md) -- Returns the Comments string from the project's version information. Read-only.
- [CompanyName](/tB/Packages/AppGlobalClassObject/_App/CompanyName.md) -- Returns the company name stored in the project's version information. Read-only.
- [EXEName](/tB/Packages/AppGlobalClassObject/_App/EXEName.md) -- Returns the name of the running executable, without path or extension. Read-only.
- [FileDescription](/tB/Packages/AppGlobalClassObject/_App/FileDescription.md) -- Returns the file description string from the project's version information. Read-only.
- [HelpFile](/tB/Packages/AppGlobalClassObject/_App/HelpFile.md) -- Gets or sets the path to the Help file associated with the application.
- [hInstance](/tB/Packages/AppGlobalClassObject/_App/hInstance.md) -- Returns the Win32 instance handle (`HINSTANCE`) of the running executable or DLL. Read-only.
- [IsInIDE](/tB/Packages/AppGlobalClassObject/_App/IsInIDE.md) -- Returns **True** if code is executing inside the twinBASIC IDE, **False** if running as a compiled executable. Read-only.
- [LastBuildPath](/tB/Packages/AppGlobalClassObject/_App/LastBuildPath.md) -- Returns the full path to the output file produced by the most recent build. Read-only.
- [LegalCopyright](/tB/Packages/AppGlobalClassObject/_App/LegalCopyright.md) -- Returns the legal copyright string from the project's version information. Read-only.
- [LegalTrademarks](/tB/Packages/AppGlobalClassObject/_App/LegalTrademarks.md) -- Returns the legal trademarks string from the compiled executable's version information. Read-only.
- [LogMode](/tB/Packages/AppGlobalClassObject/_App/LogMode.md) -- Returns a **LogModeConstants** value indicating the active logging mode. Read-only.
- [LogPath](/tB/Packages/AppGlobalClassObject/_App/LogPath.md) -- Returns the path to the log file established by **StartLogging**. Read-only.
- [Major](/tB/Packages/AppGlobalClassObject/_App/Major.md) -- Returns the major version number component of the project version. Read-only.
- [Minor](/tB/Packages/AppGlobalClassObject/_App/Minor.md) -- Returns the minor version number component of the project version. Read-only.
- [ModulePath](/tB/Packages/AppGlobalClassObject/_App/ModulePath.md) -- Returns the full file-system path of the currently executing module. Read-only.
- [NonModalAllowed](/tB/Packages/AppGlobalClassObject/_App/NonModalAllowed.md) -- Returns **True** if the application is permitted to display non-modal forms. Read-only.
- [OleRequestPendingMsgText](/tB/Packages/AppGlobalClassObject/_App/OleRequestPendingMsgText.md) -- Gets or sets the body text of the dialog displayed when an OLE request has been pending too long.
- [OleRequestPendingMsgTitle](/tB/Packages/AppGlobalClassObject/_App/OleRequestPendingMsgTitle.md) -- Gets or sets the title bar text of the dialog displayed when an OLE request has been pending too long.
- [OleRequestPendingTimeout](/tB/Packages/AppGlobalClassObject/_App/OleRequestPendingTimeout.md) -- Gets or sets the milliseconds that can elapse before a pending OLE request dialog is displayed.
- [OleServerBusyMsgText](/tB/Packages/AppGlobalClassObject/_App/OleServerBusyMsgText.md) -- Gets or sets the body text of the dialog displayed when an OLE server is busy.
- [OleServerBusyMsgTitle](/tB/Packages/AppGlobalClassObject/_App/OleServerBusyMsgTitle.md) -- Gets or sets the title bar text of the dialog displayed when an OLE server is busy.
- [OleServerBusyRaiseError](/tB/Packages/AppGlobalClassObject/_App/OleServerBusyRaiseError.md) -- Gets or sets whether a runtime error is raised instead of displaying a dialog when an OLE server is busy.
- [OleServerBusyTimeout](/tB/Packages/AppGlobalClassObject/_App/OleServerBusyTimeout.md) -- Gets or sets the milliseconds that can elapse before the OLE server busy dialog is displayed.
- [Path](/tB/Packages/AppGlobalClassObject/_App/Path.md) -- Returns the directory containing the running executable, without a trailing path separator. Read-only.
- [PrevInstance](/tB/Packages/AppGlobalClassObject/_App/PrevInstance.md) -- Returns **True** if another instance of this executable was already running when the current instance started. Read-only.
- [ProductName](/tB/Packages/AppGlobalClassObject/_App/ProductName.md) -- Returns the product name stored in the project's version information. Read-only.
- [RetainedProject](/tB/Packages/AppGlobalClassObject/_App/RetainedProject.md) -- Returns **True** if the project is retained in memory after all externally-created objects are released. Read-only.
- [Revision](/tB/Packages/AppGlobalClassObject/_App/Revision.md) -- Returns the revision component of the project version. Read-only.
- [StartMode](/tB/Packages/AppGlobalClassObject/_App/StartMode.md) -- Returns an **Integer** indicating how the application was started. Read-only.
- [TaskVisible](/tB/Packages/AppGlobalClassObject/_App/TaskVisible.md) -- Gets or sets whether the application appears in the Windows taskbar and task list.
- [ThreadID](/tB/Packages/AppGlobalClassObject/_App/ThreadID.md) -- Returns the Win32 thread ID of the main application thread. Read-only.
- [Title](/tB/Packages/AppGlobalClassObject/_App/Title.md) -- Returns or sets the application title shown in the Windows taskbar and task list.
- [UnattendedApp](/tB/Packages/AppGlobalClassObject/_App/UnattendedApp.md) -- Returns **True** if the application is running in unattended mode. Read-only.

## Methods

- [LogEvent](/tB/Packages/AppGlobalClassObject/_App/LogEvent.md) -- Writes a message to the log target configured by **StartLogging**.
- [StartLogging](/tB/Packages/AppGlobalClassObject/_App/StartLogging.md) -- Begins logging application events to the specified target.
