Code Script .co.uk

Home | Scripts | Tutorials | Disclaimer | Sitemap | Contact

   Hta Basics
 

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.
 
   Actions
  Go Back
  Bookmark
  Print Page


   Menu
 
- Links
- Reference
- Script Editors
- Tutorials
     - Hta Tutorials
          - Data Output
          - Hta Basics
     - Vbscript Tutorials
     - Windows Unattended