PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Overview
  • How to?
  • Notes
  • The project file
  • Create a project from an example
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
A project is a logical set of elements and processes whose purpose is to accomplish a given objective. The project manages:
  • the relationships between elements (windows, reports, etc.).
  • the relationships between elements and data files (described in the analysis linked to the project).
A project can be linked to a single analysis.
The same analysis can be associated with several projects.
How to?
To create a WINDEV project:
  1. Start the project creation wizard via one of the following options:
    • Click in the quick access buttons. In the window that is displayed, click "Project". The project creation wizard starts. Choose the type of project to create.
    • In the WINDEV home page, click "Create a project" and choose the type of project you want to create.
    Remarks:
    • The steps needed to create the project may vary depending on the type of project chosen.
    • The new project will contain a configuration specific to that type of project. The characteristics of your project configurations can be modified at any time. The same project can be associated with several project configurations. For more details, see Project configuration.
  2. In the different steps of the wizard, specify:
    • the operating system of the project (Windows, Mobile, Linux).
    • if the project must be:
      • a new project.
      • a project based on an example. In this case, the next step is to select the example project used to create the new project. Only the step for SCM integration is kept. The project is then created. For more details, see Create a project from an example.
    • Windows the type of executable to generate: executable with windows or console executable.
  3. Go to the next step.
  4. Specify the general details of the project:
    • The name and location. These options cannot be modified. The project corresponds to a ".WDP" file for WINDEV. This file can be opened by WEBDEV and WINDEV Mobile. For more details, see Common project.
      All the objects associated with the project will be created in the specified directory.
    • The description that summarizes the purpose of the project. This description is used in the project documentation.
  5. Go to the next step.
  6. Specify the documents attached to the project. These documents can correspond to text files, images, scanned documents, ... For more details, see Associating documents with the project. Go to the next step.
  7. Specify whether this project must be included in the Source Code Manager (SCM). The Source Code Manager simplifies teamwork and it can also be useful if you are working on your own.
  8. Go to the next step.
  9. Indicate if you want to use the code style. The code style corresponds to a programming standard that can be applied to the entire application. This standard is used to prefix the different project elements, variables, etc, ... For more details, see Code style. Go to the next step.
  10. Select the style book used if necessary. This style book will be proposed by default when creating a window or report and it will be applied to all new controls. This option can be modified in the project description window ("Style" tab).
  11. Go to the next step.
  12. Select the project languages. These languages will be proposed by default as soon as the option of an element (control, window , report, etc.) can be translated. Select the default language at runtime ("Default language" in the context menu of the list of languages). This language will be used to view the project at runtime.
  13. Go to the next step.
  14. Specify whether the project must use a database.
    If so, your project can use an existing or a new database. If you use a new database, a database creation wizard starts automatically once the project has been created.
  15. Validate. The created project becomes the current project.
Remark: If you have requested:
  • to use the SCM, the wizard for adding projects into a repository is automatically started.
  • to create a database, the corresponding wizard is automatically started.
  • New in version 28
    the creation of a Windows or Linux project, a 64-bit project using Unicode strings is created by default. To change these options, or to create a 32-bit application, change the project configuration or create a new project configuration. The same project can be associated with several project configurations. For more details, see Project configuration.
Notes

The project file

The project corresponds to a ".WDP" file in WINDEV. This file contains:
  • The initialization code of the project, run when starting the project.
  • The list of linked objects (windows, reports, etc.). The sequence between these objects is viewed in the project editor.
  • The name of the first window opened (if it exists) when running the project or when running the project test.
  • The name of the analysis associated with the project (if if exists) and its password. The data files described in this analysis can be handled by the project elements (windows, reports, etc.).
  • The name of the UML model associated with the project (if it exists).
  • The style sheet associated with the project (if it exists). This style sheet contains all the styles used by the project elements.
  • The name of the custom preview window (if it exists).
  • The directory containing the list of tasks to perform on the current project.
  • The directory of the data files (".FIC", ".MMO" and ".NDX" files) used during a test of the project ().
  • The list of languages supported by the project and the main language of the project, used by default to view the project at runtime and in the editor.

Create a project from an example

Creating a project from an example allows you to create a new project while keeping all the windows, reports and codes from the example. Just customize the example to your needs.
This creation method has several advantages:
  • You choose the name of the project.
  • You work separately from the example: no risk of overwriting your changes. If you want to follow the evolutions of the example, simply compare your project with the one in the example. For more details, see Project comparator.
  • You can create or delete items without risk of changing the example.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment