2025-04-27 07:49:33 -04:00

115 lines
3.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>Tools Component</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
TempString = navigator.appVersion
if (navigator.appName == "Microsoft Internet Explorer"){
// Check to see if browser is Microsoft
if (TempString.indexOf ("4.") >= 0){
// Check to see if it is IE 4
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else {
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
}
}
else if (navigator.appName == "Netscape") {
// Check to see if browser is Netscape
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
//-->
</script>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub Window_OnLoad()
Dim frmContents
On Error Resume Next
If Not Parent Is Nothing Then
Set frmContents = Parent.Contents
If Not frmContents Is Nothing Then
frmContents.Window.TOCSynch_Click
End If
End If
End Sub
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="MS-IT-LOC" Content="Internet Information Services">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1><A NAME="_tools_component"></A><SUP></SUP>Tools Component</H1>
<P>The Tools<B> </B>component creates a <B>Tools</B> object that provides utilities that enable you to easily add sophisticated functionality to your Web pages. </P>
<H6>File Names</H6>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=cols>
<TR VALIGN="top">
<TD width=22%>Tools.dll</TD>
<TD width=78%>The Tools component.</TD>
</TR>
</TABLE><BR>
<H6>Syntax</H6>
<P><B>Set </B><I>oTools</I><B> = Server.CreateObject("MSWC.Tools")</B></P>
<P><B>&nbsp;</B></P>
<H6>&nbsp;Parameters</H6>
<DL>
<DT><I>oTools</I></DT>
<DD>Specifies the name of the <B>Tools</B> object created by the call to <B>Server.CreateObject</B>.<BR>
</DD>
<DT></DT>
</DL>
<P><span class=le><B>Note</B></span></P>
<P>In Personal Web Server for Windows<sup>&reg;</sup>&nbsp;95 or Windows&nbsp;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.</P>
<H6>Methods</H6>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=28%><A HREF="/iishelp/iis/htm/asp/comp1d9v.htm">FileExists</A> </TD>
<TD width=72%>Checks for the existence of a file. </TD>
</TR>
<TR VALIGN="top">
<TD width=28%><A HREF="/iishelp/iis/htm/asp/comp4ng2.htm">Owner</A> </TD>
<TD width=72%>Checks if the current user is the site owner.</TD>
</TR>
<TR VALIGN="top">
<TD width=28%><A HREF="/iishelp/iis/htm/asp/comp2mer.htm">PluginExists</A> </TD>
<TD width=72%>Checks the existence of a server plug-in (on Macintosh only). </TD>
</TR>
<TR VALIGN="top">
<TD width=28%><A HREF="/iishelp/iis/htm/asp/comp0gkt.htm">ProcessForm</A> </TD>
<TD width=72%>Processes an HTML form.</TD>
</TR>
<TR VALIGN="top">
<TD width=28%><A HREF="/iishelp/iis/htm/asp/comp8kdp.htm">Random</A> </TD>
<TD width=72%>Generates a random integer.</TD>
</TR>
</TABLE><BR>
<hr class="iis" size="1">
<p align="center"><em><a href="../../../common/colegal.htm">&copy; 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
</BODY>
</HTML>