"Hey guys. I have loved your site for a while now it has some really great stuff on
it and your people are very nice too. I have been waiting to see something on Windows
Scripting host though and I haven't seen anything on your site about it yet!
So, i built a simple WSH application in VBS, that illustrates some of the
power of WSH. All you have to do is download the zip file and click on the zip.vbs file.
Basically what it does is this. Input box asks for a zip code, it querys a db and displays
the city and state of that zip then plays a happy little tune. If the zip code is not real,
it displays a message and verbally informs the user that no matches were found.
If the user enters null info, it yells at then and displays a msgBox telling them to follow
directions. Simple but pretty neat and a cool intro to WSH.
I have zipped up all the necessary files and built my code so that no dsns or special directories
are needed, just download the file, unzip it and run the vbs file. Thats it. You can view the
source by right clicking on the vbs file and choosing edit.
Download my example and necessary files at -- http://boston.noblestar.com/zipCodes_WSH.zip
In order for this example to work a user must have window scripting components on their machine.
It is a small free download available from