Windows Scripting
  Home arrow Windows Scripting arrow HTML Applications: Giving WSH a User Inter...
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  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
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 / 5
    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
     
     
    ADVERTISEMENT


    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

    - More Windows Scripting Workarounds from Nilpo
    - Overloading Methods and More in VBScript
    - Improving MFC for Windows Vista
    - Regular Expressions in VBScript
    - Working with Dates in WMI
    - Completing Calendars with VBScript Date Func...
    - Building Calendars with VBScript Date Functi...
    - Working With Dates and Times in VBScript
    - Designing WCF DataContract Classes Using the...
    - Understanding Dates and Times in VBScript
    - Working With Arrays in VBScript
    - Compressed Folders in WSH
    - Using .NET Interops in VBScript
    - Nilpo`s Scripting Secrets, Vol I
    - Database operations using Silverlight 2.0 WC...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek