In this section, you will convert the SampleApp folder into a project in Progress Developer Studio for OpenEdge. The SampleApp folder contains project resources that are necessary for creating and running the sample application. For example, the SampleAppfolder contains:

  • Most of the files necessary to implement data access
  • The graphics files you will use to add images to the UI
  • Interface files
  • Other files you do not create but will use as you follow the exercises in this manual
Note: You can also follow the procedure in this section to convert the SampleAppSolution folder into an OpenEdge project. The SampleAppSolution folder contains required project resources, as well as completed versions of the sample application's forms. After you add a database resource to the SampleAppSolution project, you will be able to run the sample application (see Creating the database and Adding the database connection to the project).

To create a project for the sample application:

  1. Start Progress Developer Studio for OpenEdge in the workspace that contains the SampleApp and SampleAppSolution folder.

    This should be the workspace where you unzipped the visualdesigner.zip file, which contains the SampleApp and SampleAppSolution folders.

    Note: If you are starting Progress Developer Studio for OpenEdge in a new workspace, you should use the Developer Studio for OpenEdge Clean startup option.
  2. Select File > Import. The Import dialog appears.
  3. Select General > Existing Projects into Workspace as the filter type in the Select an import wizard field.

    The Import dialog now looks similar to the following illustration:



  4. Click Next. The Import dialog appears.
  5. Select the Select root directory option, and go to the VisualDesigner folder in your workspace directory.

    This should be the workspace where you unzipped the visualdesigner.zip file, which contains the SampleApp and SampleAppSolution folders.

    Your screen now looks similar to the following illustration:



    1. Click Select All to select the SampleApp and SampleAppSolution project.
    2. Select the Copy projects into workspace checkbox.
  6. Click Finish.

    Progress Developer Studio for OpenEdge creates the SampleApp and SampleAppSolution projects, which includes all the files and subfolders contained in the SampleApp and SampleAppSolution folder. You can view the contents of the project in the Project Explorer view as shown in the following illustration:



  7. Select OpenEdge > Migration > Update Assembly Referencs to upgrade the assembly reference files.
    Note: You must upgrade the assembly reference files because the infragistic files in the SampleApp and SampleAppSolution are different and not compatible with the infragistic files in Progress Developer Studio for OpenEdge version 12.2 and later.
    1. The Update Assembly References dialog displays the old assembly references and the new assembly references. Click OK to continue.


    2. Click Yes in the Update Assembly Refernece dialog to restart the workspace.
  8. After the restart of the project, right click on SampleApp in the Project Explorer view, and choose Progress OpenEdge > Compile.
    Note: After compilation, you will see an error marker on the start.p file, because the file refers to objects that you have not created yet. You can ignore the error marker for now. When you complete all the exercises in this manual the errors will be resolved.