ActiveX Components

This section provides an overview of the ActiveX components included with Active Server Pages (ASP). For a complete description of these components and a list of their objects, properties, and, methods, refer to Installable Components for ASP.

ActiveX components are designed to run on your Web server as part of a Web-based application. Components provide key functionality needed for Web applications, such as database access, so that you do not have to create and re-create the code to perform these tasks.

Database Access

You use the Database Access component to provide access to a database from within your Web application. You can then display the entire contents of a table, allow users to construct queries, and perform other database operations from Web pages.

Ad Rotator

You use the Ad Rotator component to alternately display a series of images, as well as to provide a link from the displayed image to another URL. You keep a list of advertisements in a text file; the Ad Rotator component displays them according to the statements in your data file.

Content Rotator

The Content Rotator component automates the rotation of HTML content strings on a Web page. Each time a user requests the Web page, the Content Rotator component displays a new HTML content string based upon information that you specify in a Content Schedule file.

Because the content strings can contain HTML tags, you can display any type of content that HTML can represent: text, images, or hyperlinks. For example, you can use this component to rotate through a list of daily quotations or hyperlinks, or to change your text and background colors each time the Web page is opened.

Browser Capabilities

With the Browser Capabilities component, you can tailor the content you send to a browser based on the browser's capabilities.

File Access

The File Access Component provides objects you can use to retrieve and modify files in a computer’s file system.

Content Linking

The Content Linking component makes it easy for you to provide logical navigation through the .asp files in an application. Rather than maintaining URL references in a number of .asp files, you can specify the sequential organization of .asp files in a single, easy-to-edit text file.

Collaboration Data Objects for Windows NT Server

The Collaboration Data Objects for NTS component provides messaging objects for use by Web applications. The library lets you quickly and easily add to your application the ability to send and receive mail items. You can create programmable messaging objects, then use their properties and methods to meet the needs of your application.

MyInfo, Status, System, and Tools

The MyInfo, Status, System, and Tools components provide compatibility for applications developed on the Macintosh and deployed on computers running Microsoft Windows.

Page Counter

The Page Counter component counts and displays the number of times a Web page has been requested. At regular intervals it writes the number of hits to a text file so that in the event of a server shutdown, the data is not lost.

Permission Checker

The Permission Checker component tests the Web user's access rights to a file or a page. You can use the Permission Checker component to customize an ASP-based page for different types of users. For example, if a Web page contained hyperlinks, you could use the Permission Checker component to test the user's permissions for the corresponding Web pages and omit or make inactive any links to pages for which the user does not have access.


© 1997 by Microsoft Corporation. All rights reserved.