Microsoft HTA/Using VBScript
language attribute in the
script element. In order to use VBScript in a
script element, just set the value of the
language attribute to
VBScript exactly. In order to call VBScript subroutines from buttons, just set the
onclick attribute to the function's name. There is an example of the usage of VBScript below.