VERSION Attribute | version Property
Sets or gets the version number of the HTML Application (HTA).
Syntax
HTML <HTA:APPLICATION VERSION = sVersion... > Scripting [ sVersion = ] HTA:APPLICATION.version
Possible Values
sVersion A String that specifies the version number of the application. The property is read-only. The property has no default value.
Remarks
Note The version property is read-only; however, the VERSION attribute can be used to set the initial value.
Example
This example shows how to get the version property.
<HTML> <HEAD> <HTA:APPLICATION ID="oHTA" VERSION="1.0" > <SCRIPT> alert("version = " + oHTA.version); </SCRIPT> </HEAD> <BODY SCROLL="no"> </BODY> </HTML>
Code example: https://samples.msdn.microsoft.com/workshop/samples/author/hta/hta_allEX.hta
Applies To
HTA:APPLICATION
See Also