Tools Component

The Tools component creates a Tools object that provides utilities that enable you to easily add sophisticated functionality to your Web pages.

File Names

tools.dll The Tools component.

Syntax

Set Tools = Server.CreateObject("MSWC.Tools")
 
 

Parameters

Tools
Specifies the name of the Tools object created by the call to Server.CreateObject.

Registry Entries

None.

Remarks

In Personal Web Server for Windows?95, the Tools object has already been included in the global.asa file in the default virtual directory. You can work with the Tools object as if it were a built-in object by calling Tools.FileExists, Tools.ProcessForm, and Tools.Random.

Methods

FileExists Checks for the existence of a file.
Owner Checks if the current user is the site owner.
PluginExists Checks the existence of a server plug-in (on Macintosh only).
ProcessForm Processes an HTML form.
Random Generates a random integer.

Note  You can obtain this component from the CD included with the IIS Resource Kit.