Tutorials / Hta Tutorials / Hta Basics
Starting out with HTA's is as simple as opening notepad and pasting the code exaples below. Save the file with the '.hta' file extension and Windows will run the file as a HTA.
<head> <title>HTA Tutorial</title> </head> <script language="VBScript"> Sub callSub Msgbox "Hi Universe" End Sub </script> <body> <input type="button" value="Run Subroutine" name="Button" onClick="callSub"><p> </body>
Please note that a disclaimer applies to any code on this page.
|