Tutorials / Hta Tutorials
Hyper-Text Applications (HTA) are nothing new but provide a convenient way of enhancing the UI capabilities of VBscript. HTA allows a combination of VBScript and HTML to be placed in the same Code Script thereby providing the UI capabilities of HTML e.g. display elements, form input fields and buttons, with the functionality of VBScript. By default windows recognises the .HTA file extension and will run these files with the Microsoft HTML Application host so writing a HTA is as simple as creating a VBscript.
The basic use of HTML with embedded VBScript to form a HTA is as shown below.
<html><head> Title, Metadata, CSS etc. here </head><body>
<script language=VBScript> Code here </script>
Page content, forms, vbscript output etc. here
</body></html>
Explore the HTA tutorials below to learn more: - HTA Basics - Data Output
Please note that a disclaimer applies to any code on this page.
|