The Flag and Properties
Well, how did it look? My guess is that it looked just like this without all the orange swoosh and image stuff. That was on purpose. I didn't see a need to add it all into the code. My guess is that all you really wanted was the text so that's all I gave.
OK, let's tear it apart.
Again, the HTA:APPLICATION flag goes in between the HEAD flags. Although it may not look like it up above, the flag does require a close flag. That means you can use </HTA:APPLICATION> to close up the flag if you'd like. I used a bit of shorthand suggested by the Microsoft pages.
Notice that I have a space and then a slash just before the >. That's an easy way to say, "end". You'll see that format being used a great deal in XML if you start getting into the language.
Where the flag really comes alive are all the properties (properties of the attribute "application") you can play with. I've used just about every one up above that will alter the look of the display. Notice how I have them listed, one after another and at least one space between each. I have a line break. It's the same thing. No commas. Put your flag together just the same way you see mine up above.
Here are the properties and what they do The default, what you'll get if you don't use the property, for each in in green
border sets the border format.
Options: thin, dialog, none, thick
borderStyle further defines the border
Options: complex, normal, raised, static, sunken
caption denotes a title bar or not
Options: yes, no
icon is the path to an icon that will display in the title bar, not on the hard drive.
Options The icon must be 32X32 "ico" format. I found it works pretty well if you have a favicon.ico on your system to attach to that. That what I did above.
maximizeButton is the max button in the title bar
Options: yes, no
minimizeButton is the min button in the title bar
Options: yes, no
showInTaskbar tells if the application will display in the taskbar
Options: yes, no
windowState is how the window will display
Options: normal, minimize, maximize
innerBorder denotes if you'll have one or not
Options: yes, no
navigable suggests if linksed pages will display in the HTA window or not
Options: yes, no
scroll denotes a scroll bar
Options: yes, no, auto
scrollFlat will the scrollbar be 3D or not
Options: yes, no
That's That
There are a few other properties and if you'd like to get into them, feel free. The only properties I covered here are those that deal with the display, the design, of the HTA.
For some further reading, try the MSIE Web Workshop page.
I think it's good thing to use if you're going to offer downloads and want those pages to work the same way as the online Web site.
Enjoy!