How to: Create Projects

You can create a project for your application using the Application wizard or as an empty project. After you create a project, Visual FoxPro generates the associated folders and files for the new project, including the main project (.pjx) file and project memo (.pjt) file.

A wizard helps you create and set options for your application project using your answers to a series of questions. The Application Wizard helps you create a project, add files using the Application Builder, and create an application framework that includes required and optional elements for applications.

To create a project using a wizard

  1. On the File menu, click New.

  2. In the New dialog box, click Project, and then Wizard.

    The Application Wizard dialog box opens.

  3. In the Project name box of the Application Wizard dialog box, type the name for your project. To choose another location for your project, change the location in the Project file box or click Browse to select a different location.

    The Project file box displays the location and name of your project as you type it.

  4. When you are finished, click OK.

Visual FoxPro displays the Application Builder dialog box so you can set additional options and add files to your application.

For more information, see Application Wizard, Application Builder, and Creating Applications with the Application Framework.

To create an empty project

  1. On the File menu, click New.

  2. In the New dialog box, click Project, and then New File.

  3. In the Create dialog box, choose a location to save the project and type the name for the new project.

  4. Click Save.

Visual FoxPro opens the Project Manager window for your project. For more information, see Project Manager Window.

To create a project programmatically

  • Use the CREATE PROJECT command to open the Project Manager.

For more information, see CREATE PROJECT Command.

After you create your project, Visual FoxPro opens the Project Manager so you can add and work with files in your project. Files must be added to a project to be included in an application. For more information, see How to: Add Files to a Project.

If you have data, such as spreadsheets, text files, or tables from other applications, you can import it into Visual FoxPro and add it to the project. For more information, see Importing and Exporting Data.

See Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic