ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Editors / Project editor / Import/Export
  • Overview
  • How to?
  • Importing a WEBDEV project
  • Importing WEBDEV elements
  • Conversions performed when importing a WEBDEV project
  • Importing a WEBDEV PHP project into a WINDEV project
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
In most cases, a site is linked to an application.
WINDEV proposes a feature for importing WEBDEV sites or WEBDEV pages.
You have the ability to import the entire project or a single page. The pages are changed into windows. The Server and Browser codes are grouped.
The elements without equivalent in WINDEV (JavaScript code for example) are imported as comments or as separated elements.
How to?

Importing a WEBDEV project

To import a WEBDEV project:
  1. Start WINDEV.
  2. On the "Project" tab, in the "Project" group, expand "Import" and select "From WEBDEV .. A WEBDEV project".. The import wizard starts.
  3. Select the WEBDEV project to import. Go to the next step.
  4. A new WINDEV project will be created from the imported WEBDEV project. The WEBDEV project will not be modified. Specify the characteristics of the new WINDEV project:
    • Project name.
    • Project description.
    • Project directory.
  5. Go to the next step.
  6. If the WEBDEV project is linked to an analysis, you can:
    • Share the analysis with the original project: the same analysis will be used by the WEBDEV project and the new WINDEV project.
    • Make a copy of the analysis in the new project directory: the analysis will be duplicated. Each project (WINDEV and WEBDEV) will evolve with its own analysis
    • Do not use analysis: analysis is not taken into account.
  7. Go to the next step.
  8. If the WEBDEV project contains elements that can be shared with WINDEV (classes, sets of procedures, reports, queries), the import wizard allows you to:
    • share these elements. These elements will not be physically copied into the new WEBDEV project but they will be accessible from the project.
    • copy these elements into the new WEBDEV project. These elements will evolve independently in each project.
  9. Validate. The import is carried out automatically: the new WINDEV project is created.

Importing WEBDEV elements

To import WEBDEV elements (pages, ...):
  1. Open the WINDEV project where the import must be performed.
  2. On the "Project" tab, in the "Project" group, expand "Import" and select "From WEBDEV .. WEBDEV elements". The import wizard starts.
  3. Select the WEBDEV project containing the elements to import or select the WEBDEV files to import. Go to the next step.
  4. Select the pages to import.
  5. If the WEBDEV project contains elements that can be shared with WINDEV (classes, sets of procedures, reports, queries), the import wizard allows you to:
    • share these elements. These elements will not be physically copied into the WEBDEV project but they will be accessible from the project.
    • copy these elements into the WEBDEV project. These elements will evolve independently in each project.
  6. Validate. The import is automatically performed.
Conversions performed when importing a WEBDEV project
When WEBDEV projects or WEBDEV pages are imported into a WINDEV project:
  • the following fields are not imported: IFrame, Frameset, Navigation path, slider, etc. All fields not available in WINDEV are replaced by a label indicating "".
  • the thumbnails, the clickable images and the images are imported as images.
  • the cells are imported either as images or as captions.
  • the links are changed into buttons
  • the actions for page opening are automatically replaced by the opening code of the corresponding window.
  • the internal pages are changed into internal windows.
  • the codes not supported in WINDEV are commented out (JavaScript code, PHP code, ...)
  • the following functions (specific to WEBDEV) are automatically replaced with their equivalent in WINDEV:
    WEBDEV functionWINDEV function
    PageRefreshWinRedraw
    PageDisplayOpen
    FramesetDisplayOpen
    FramesetRefreshOpen
    FileToPageFileToScreen
    PageParameterCommandLine

    The functions specific to WEBDEV that are not replaced trigger compilation errors. The code of the application must be reviewed and modified in order to operate in Windows.

Importing a WEBDEV PHP project into a WINDEV project

When importing a WEBDEV PHP project into a WINDEV project, the following elements are not imported:
  • The code of buttons,
  • Project code.
When importing a table, display problems may occur.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/18/2024

Send a report | Local help