1. Home
  2. Computing & Technology
  3. Visual Basic

VBScript - The System Administrator's Language - Part 3

By Dan Mabbutt, About.com

5 of 5

The completed HTA

The key to creating a really functional HTA application is the special HTA tag which is embedded at the start of an HTA file:

~~~~~~~~~~~~~~~~~~~~~~~~~
<HTA:APPLICATION
   Applicationname = "MyApplication"
   PropertyValueName="PropertyValue"
>
~~~~~~~~~~~~~~~~~~~~~~~~~

Here's how that tag is coded in Scriptomatic:

~~~~~~~~~~~~~~~~~~~~~~~~~
<HTA:APPLICATION
   ID="objScriptomatic"
   APPLICATIONNAME="Scriptomatic"
   SCROLL="no"
   SINGLEINSTANCE="yes"
   WINDOWSTATE="normal"
>
~~~~~~~~~~~~~~~~~~~~~~~~~

Open the Scriptomatic HTA file in Notepad, or the text editor of your choice, to see more about how the Microsoft programmers created this application. Then try coding your own HTA by converting a web page using the techniques in Scriptomatic as a guide.

And, if you need to manage a ten thousand node network, or just find out what the environment path on your own PC is, Scriptomatic could be the easiest way to go.

Explore Visual Basic
By Category
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Visual Basic
  4. Learn VB 6
  5. Learn VBScript
  6. VBScript - The System Administrator's Language - Part 3

©2009 About.com, a part of The New York Times Company.

All rights reserved.