The first step in the process of creating the demo program is to create a new VCL for the Web project. The project will be a stand alone application, but you can convert it to ISAPI/NSAPI or Apache later by changing two lines of code.
To create the new project:
- Using an external tool (such as Microsoft Windows Explorer), create a directory named Hello in your Projects directory. This is where the project files will be stored. VCL for the Web will set the new project's name to match that of the directory.
- Choose FileNewOther, then select the VCL for the Web folder under Delphi Projects. The New Items dialog box appears.
- Select VCL for the Web Application Wizard and click OK.
- Select FileSave As and locate your new Hello directory in the dialog box. Then click OK.
You have just created your VCL for the Web application in the Hello directory. All of its source code files have already been saved. You are now ready to edit the main form to create the Web user interface for your application.
For information about editing the main form, see Editing the Main Form.