HTML Applications

HTML (DHTML)

HTML Applications

Internet Development Index

HTML Applications (HTAs) are full-fledged applications. These applications are trusted and display only the menus, icons, toolbars, and title information that the Web developer creates. In short, HTAs pack all the power of Microsoft® Internet Explorer—its object model, performance, rendering power, protocol support, and channel–download technology—without enforcing the strict security model and user interface of the browser. HTAs can be created using the HTML and Dynamic HTML (DHTML) that you already know.

Overviews/Tutorials

Introduction to HTML Applications (HTAs)

The power to build HTAs brings Internet Explorer 5 to the fore as a viable Microsoft Windows® development platform. HTAs are full-fledged applications. These applications are trusted and display only the menus, icons, toolbars, and title information that the Web developer creates. In short, HTAs pack all the power of Internet Explorer—its object model, performance, rendering power, protocol support, and channel-download technology—without enforcing the strict security model and user interface of the browser.

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) and, therefore, exempt from the browser security model.

applicationName

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

border

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

borderStyle

Sets or retrieves the style set for the content border within the HTML Application (HTA) window.

caption

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

commandLine

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

contextMenu

Sets or retrieves whether the context menu is displayed when the right mouse button is clicked.

icon

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

innerBorder

Sets or retrieves whether the inside 3-D border is displayed.

maximizeButton

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

minimizeButton

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

navigable

Sets or retrieves whether linked documents will be loaded in the main HTA window or in a new browser window.

scroll

Sets or retrieves whether the scroll bars are displayed.

scrollFlat

Sets or retrieves whether the scroll bar is 3-D or flat.

selection

Sets or retrieves whether the content can be selected with the mouse or keyboard.

showInTaskBar

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

singleInstance

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

sysMenu

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

version

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

windowState

Sets or retrieves the initial size of the HTA window.