Windows Scripting
  Home arrow Windows Scripting arrow HTML Applications: Giving WSH a User Inter...
Iron Speed
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WINDOWS SCRIPTING

HTML Applications: Giving WSH a User Interface
By: Nilpo
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2008-02-05

    Table of Contents:
  • HTML Applications: Giving WSH a User Interface
  • Creating your first HTA
  • Building the page
  • Taking it one step further

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    Iron Speed
     
    ADVERTISEMENT

    Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    HTML Applications: Giving WSH a User Interface
    (Page 1 of 4 )

    So you’ve been writing scripts for a while. You’re accustomed to the bland look of the Cscript window and the lack of substance of the Wscript environment. You need something with a little more substance; something that looks like a real application so that you don’t feel as though your programming skills are inferior.

    If you’ve been reading my articles you’ve already learned how to interact with your users but there’s still something missing.  Your scripts have a lackluster shine at best.  Sure they may work like an application, but they just don’t look the part.  It’s time to add a UI.

    A UI, or user interface, is the combination of windows and forms that make up an application’s desktop presence. For years we’ve grown used to seeing applications running inside of these visual containers. Not since the days of DOS have we seen interactive command prompt windows, so why should we believe that WSH would be stuck inside of this archaic mold? In fact, it’s not.

    While WSH itself is forced to run within the constraints of the Cscript or Wscript environments, there is another Windows Scripting technology that uses WSH and yet has the ability to break away from this trip down memory lane.

    That technology is known as HTML Applications. These are, in a sense, WSH scripts packaged inside of an HTML environment. This environment relies on both the Windows Script Host engine and Internet Explorer to provide scripters with a whole new scripting environment. One that is as powerful as it is tangible.

    Okay, so HTML Applications, or HTAs, do not actually have windows and forms. In fact, they only run inside of a window and their forms consist of html pages; but with the proper design time the end-user experience is nearly identical.

    All right, all right! Enough with the explanations already. You’re ready to see one of these in action and I have to admit that you won’t fully understand the concept until you do, so let’s get started.

    More Windows Scripting Articles
    More By Nilpo


     

    WINDOWS SCRIPTING ARTICLES

    - VBScript: Array Functions
    - VBScript: Strings, You Can`t Function withou...
    - VBScript: More String Functions
    - VBScript: Functioning with Strings
    - Working with the Windows Registry in C++
    - Understanding Objects
    - HTML Applications: Giving WSH a User Interfa...
    - Modifying Computer Objects with Active Direc...
    - Logon Script to Send Email Notifications
    - Securing Computers and Active Directory
    - Moving and Renaming Computers with Active Di...
    - Working with System Processes in WSH
    - Active Directory and Computers
    - WCF and Proxies
    - Metadata and WCF Essentials




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway