HTA Pages.
What I like about HTA pages.
There was a time I
was satisfied with the html and htm file types.
But then, you
don't need a huge browser to just view an output htm page
after you run a sql
query.
So, that's where the hta files prove their simplicity and
ease of use - they are
light, start quickly and provide the benefits of htm.
You
spool the sql query output to a hta file and open it as a viewer
without
any menu and icon and close it as quickly as you opened
it.
And you could also use it to create web applications.
Follow this link for
the excellent Hey, scripting guy microsoft.com page with samples.
http://technet.microsoft.com/en-us/scriptcenter/dd742317.aspx
Please look at
this page for a look at how I have used it in a script.
http://www.sqlhtm.com/sqlhtm/makehta