Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 2.47 KB

adding-an-atl-active-server-page-component.md

File metadata and controls

44 lines (28 loc) · 2.47 KB
description title ms.date ms.assetid
Learn more about: Adding an ATL Active Server Page Component
Adding an ATL Active Server Page Component
05/09/2019
7be2204c-6e58-4099-8892-001b848c8987

Adding an ATL Active Server Page Component

::: moniker range=">=msvc-160"

The ATL Active Server Pages component wizard is not available in Visual Studio 2019 and later.

::: moniker-end

::: moniker range="<=msvc-150"

To add an Active Template Library (ATL) object to your project, your project must have been created as an ATL COM application or as an MFC application that contains ATL support. You can use the ATL Project Wizard to create an ATL application, you can select Add ATL Support to MFC from the Add Class Dialog Box dialog box, or you can add an ATL object to your MFC application to implement ATL support for an MFC application.

Active Server Pages components are part of the Internet Information Services architecture, which provides the following advanced Web development features:

  • You can embed ASP components into your HTML pages to create dynamic, browser-independent content.

  • You can use ASP pages to provide standards-based database connectivity.

  • You can use the ASP error-handling capabilities for your Web-based applications.

To add an ATL Active Server Pages component to your project

  1. In Solution Explorer right-click the name of the project to which you want to add the ATL Active Server Pages component.

  2. From the shortcut menu, click Add, and then click Add Class.

  3. In the Add Class dialog box, in the Templates pane, click ATL Active Server Page Component, and then click Open to display the ATL Active Server Page Component Wizard.

::: moniker-end

See also

Adding a Class
Adding a New Interface in an ATL Project
Adding Connection Points to an Object
Adding a Method
MFC Class
Adding a Generic C++ Class