FP98: How to Create Active Server Pages in FrontPage 98

Last reviewed: March 18, 1998
Article ID: Q174015
The information in this article applies to:
  • Microsoft FrontPage 98 for Windows

SUMMARY

This article describes how to create Active Server Pages (ASP) in Microsoft FrontPage 98.

NOTE: This article describes how to create Active Server Pages if you are using the Microsoft Personal Web Server (MSPWS) as the Web server. The configuration of ASP on Microsoft Internet Information Server-based servers may be different. This procedure will not work if you are using a disk-based Web. Also, for ASP to work on a supported web server Asp.exe must be installed.

MORE INFORMATION

WARNING: ANY USE OF THE VBSCRIPT PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this VBScript "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

In FrontPage 98, you can create an Active Server Page with VBScript, using these steps:

  1. In FrontPage Explorer, open or create a Web.

  2. On the View menu, click Folders.

  3. On the File menu, point to New, and then click Folder.

  4. Name the folder "ASPSample" (without the quotation marks).

  5. Right-click the ASPSample folder and then click Properties on the menu that appears.

  6. Click to select the "Allow scripts or programs to be run" check box.

  7. Click OK.

  8. On the Tools menu, click Show FrontPage Editor.

  9. On the Insert menu, point to Advanced, and then click Script.

  10. Click VBScript.

  11. Click to select the "Run Script on Server" check box.

  12. Enter the following code in the Script box:

    For i = 3 to 10 %> <font size="<% = i %>">

              Hello World!<br>
           <% Next
    
    

  13. Click OK.

REFERENCES

For more information about Active Server Pages, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE: Q174008
   TITLE  : FP98: What are Active Server Pages?

   ARTICLE: Q174185
   TITLE  : FP98: ASP Code Displayed in Browser

For more information about Visual Basic scripts, please see the following Microsoft World Wide Web site:

   http://www.microsoft.com/vbscript


Additional query words: 98 asp iis
Keywords : fphtml fpiis kbdta
Version : WINDOWS:98
Platform : WINDOWS
Hardware : x86
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.