Microsoft HTA/Using VBScript

One of Microsoft HTA's most notable features is its ability to be used as an easy way to make a front end for VBScript scripts. You already know that you can embed JavaScript in HTA through the  element. However, you can change the scripting language used from JavaScript to VBScript using the  attribute in the   element. In order to use VBScript in a  element, just set the value of the   attribute to   exactly. In order to call VBScript subroutines from buttons, just set the  attribute to the function's name. There is an example of the usage of VBScript below.