Retrieves the version number of the HTML Application (HTA).
Syntax
HTML <HTA:APPLICATION VERSION=sVersion> Scripting [ sVersion = ] oHTA.version
Possible Values
sVersion String that specifies the version number of the application. The property is read-only with a default value of an empty string.
Example
This example shows how to retrieve the version property.
Sample Code
<HTML> <HEAD> <HTA:APPLICATION ID="oHTA" VERSION="1.0" > <SCRIPT> alert("version = " + oHTA.version); </SCRIPT> </HEAD> <BODY SCROLL="no"> </BODY> </HTML>
Applies To
HTA:APPLICATION
See Also