Click to return to the DHTML, HTML     
SYSMENU Attribute | sysMe...     WINDOWSTATE Attribute | w...     HTML Applications Referen...    
Web Workshop  |  DHTML, HTML & CSS

VERSION Attribute | version Property


Retrieves the version number of the HTML Application (HTA).

Syntax

HTML<HTA:APPLICATION VERSION=sVersion>
Scripting[ sVersion = ] oHTA.version

Possible Values

sVersionString 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>
This feature requires Microsoft® Internet Explorer 5 or later. Click the icon below to install the latest version. Then reload this page to view the sample.
Microsoft Internet Explorer

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
HTA:APPLICATION

See Also

HTML Applications Overview



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.