Tuggy Computer Specialists

Database Architect Ed Tuggy

Nathan Tuggy, Computer Tech

The WSH Common Library

Several years ago, we began collecting frequently used snippets of code into a VBScript library. This library is large enough to be of some potential use to almost any VBScript programmer or even sysadmin scripter. For convenience, the library is now packaged as a Windows Script Component, which creates a COM server from WSH code.

Installation Instructions:

  1. Download the zip file here.
  2. Unzip it into a suitable directory, such as your Desktop.
  3. Right-click CommonLibrary.wsc in the chosen directory and choose Register. This will register the COM component on your computer. (On Vista, running as an elevated administrator is necessary to register the component for all users.)
  4. Use the included typelib (CommonLibrary.tlb) and sample script file (SampleCommonLibrary.vbs) to investigate the library. Or look at the code inside the .WSC file. It's just VBScript wrapped in some special XML.

GNU Lesser General Public License 3.0
This program is licensed under the GNU Lesser General Public License version 3.