Site hosted by Angelfire.com: Build your free website today!

VBScript®

VBScript is one of Microsoft's two standard "active scripting" languages, the other being Microsoft's version of ECMAScript/Javascript: JScript®.

A lot of people tend to see VBScript in one of two roles:

It can also be used for other things though, and I find that I tend to apply it more often in other ways: small desktop applications, tools, or "applets."

Sometimes you have a task to automate or a function you want to implement for repeated use, but writing and compiling a program even in a RAD tool such as VB or Delphi is overkill.  Sometimes you have a reason why you want "zero installation" deployment (a.k.a. "XCopy" deployment) for a small application.  Sometimes Windows Scripting is the only development tool you have at hand, and VBScript can take on the role that QBasic once had back in the DOS days as the "default" programming tool for simple purposes.

Some simple concepts

LDB: Database interaction without a web server talks about building "web applications" that interact with a local database without using any web server whatsoever.  These are of course limited to intranet use within a LAN, but they do have their niche.  A perhaps obvious outgrowth of client-side web logic.

FWDiscus is another example of a "serverless" web application constructed using the same techniques described in the "LDB" article.  You may find this one more interesting to tinker with than the simple LDB example.  Here I use an HTA to allow client-side script a bit of "oomph" without a lot of security warning dialogs.  I haven't talked much here about how it works, but the other VBScript articles should cover most of the background and the source is all clear-text for you to study.

quicksort.vbs is a simple VBScript implementation of the QuickSort algorithm.

vbsForm is a brief introduction to writing HTML Applications (HTAs), along with a small sample.  HTAs are a great way to build desktop applications written in VBScript.  So clever that I suspect they are the inspiration behind Windows Longhorn's upcoming Avalon technology.