You are currently offline, waiting for your internet to reconnect

FP98: How to Create Active Server Pages in FrontPage 98

This article was previously published under Q174015
This article has been archived. It is offered "as is" and will no longer be updated.
This article describes how to create Active Server Pages (ASP) in MicrosoftFrontPage 98 if you are using the Microsoft Personal Web Server (MSPWS) asyour Web server.

NOTE: The ASP configuration on Microsoft Internet Information Server-basedservers may be different. This procedure does not work if you are using adisk-based Web. You must install the Asp.exe file if you want ASP to work on asupported Web server.For additional information about installing Asp.exe, click the article number below to view the article in the Microsoft Knowledge Base:
179264 FP98: Previewing in Browser Prompts to Save ASP Files to Disk
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. In FrontPage 98, you can create an Active Server Page using Visual BasicScripting Edition (VBScript) code. To do this, follow these steps:
  1. In FrontPage Explorer, open or create a Web and then follow these steps:

    1. On the View menu, click Folders.
    2. On the File menu, point to New, and then click Folder.
    3. Type this name for the folder: ASPSample
    4. Right-click the ASPSample folder, and then click Properties on the menu that appears.
    5. Click to select the Allow scripts or programs to be run check box.

      NOTE: This check box is unavailable (dimmed) if you are using a disk-based web.

      Click OK.
    6. On the Tools menu, click Show FrontPage Editor.
  2. In FrontPage Editor, follow these steps:

    1. On the File menu, click New. Click Normal Page, and then click OK. Or open an existing page.
    2. On the Insert menu, point to Advanced, and then click Script.
    3. In the Script dialog box, follow these steps:

      1. Click VBScript.
      2. Click to select the Run Script on Server check box.
      3. In the Script box, type the following code:
                     For i = 3 to 10 %&>             &<font size="&<% = i %&>"&>                Hello World!&<br&>             &<% Next           										
      4. Click OK.
    4. On the File menu, click Save As. In the Look in list, click the ASPSample folder. In the File name box, type World.asp. Click OK.
    5. On the File menu, click Preview in Browser.
For additional information about Active Server Pages, click the article number below to view the article in the Microsoft Knowledge Base:
174008 FP98: What are Active Server Pages?
174185 FP98: ASP Code Is Displayed in Browser
For more information about Visual Basic scripts, please browse to the followingMicrosoft World Wide Web site:
98 asp iis front page vbscript vb script

Article ID: 174015 - Last Review: 10/07/2013 06:16:41 - Revision: 2.2

Microsoft FrontPage 98 Standard Edition

  • kbnosurvey kbarchive kbhowto KB174015