HTML Applications Reference

This section contains reference information for HTML Applications (HTAs).

Elements/Objects

HTA:APPLICATION

Enables an extended object model for building HTML Applications (HTA).

Attributes/Properties

APPLICATION

Indicates whether the content of the object is an HTML Application (HTA), which is exempt from the security model.

applicationName

Sets or gets the name of the HTML Application (HTA).

border

Sets or gets the type of window border for the HTML Application (HTA).

borderStyle

Sets or gets the style set for the content border in the HTML Application (HTA) window.

caption

Sets or gets a Boolean value that indicates whether the window is set to display a title bar or a caption, for the HTML Application (HTA).

commandLine

Gets the argument used to launch the HTML Application (HTA).

contextMenu

Sets or gets a string value that indicates whether the context menu is displayed when the right mouse button is clicked.

icon

Sets or gets the name and location of the icon specified in the HTML Application (HTA).

innerBorder

Sets or gets a string value that indicates whether the inside 3-D border is displayed.

maximizeButton

Sets or gets a Boolean value that indicates whether a Maximize button is displayed in the title bar of the HTML Application (HTA) window.

minimizeButton

Sets or gets a Boolean value that indicates whether a Minimize button is displayed in the title bar of the HTML Application (HTA) window.

navigable

Sets or gets a string value that indicates whether linked documents are loaded in the main HTA window or in a new browser window.

scroll

Sets or gets a string value that indicates whether the scroll bars are displayed.

scrollFlat

Sets or gets a string value that indicates whether the scroll bar is 3-D or flat.

selection

Sets or gets a string value that indicates whether the content can be selected with the mouse or keyboard.

showInTaskBar

Sets or gets a value that indicates whether the HTML Application (HTA) is displayed in the Windows taskbar.

singleInstance

Sets or gets a value that indicates whether only one instance of the specified HTML Application (HTA) can run at a time.

sysMenu

Sets or gets a Boolean value that indicates whether a system menu is displayed in the HTML Application (HTA).

version

Sets or gets the version number of the HTML Application (HTA).

windowState

Sets or gets the initial size of the HTA window.