[This is preliminary documentation and subject to change]

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.dllThe Tools component.

Syntax

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

 

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

note Note    In Personal Web Server for Windows® 95 or Windows 98, 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
FileExistsChecks for the existence of a file.
OwnerChecks if the current user is the site owner.
PluginExistsChecks the existence of a server plug-in (on Macintosh only).
ProcessFormProcesses an HTML form.
RandomGenerates a random integer.


© 1997-2001 Microsoft Corporation. All rights reserved.