PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 proceed?

Importing a WEBDEV project

To import a WEBDEV project:
  1. Start WINDEV.
  2. Select "File .. Import .. Import from WEBDEV .. A WEBDEV project". The import wizard starts.On the "Project" pane, 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 initial project: the same analysis will be used by the WEBDEV project and by the new WINDEV project.
    • Copy the analysis into the directory of the new project: the analysis will be duplicated. Each project (WINDEV and WEBDEV) will evolve with its own analysis
    • Use no analysis: the analysis is ignored.
  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 automatically performed: 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. Select "File.. Import.. Import from WEBDEV.. WEBDEV elements". The import wizard starts.On the "Project" pane, 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 controls are not imported: IFrame, frameset, site map path, pager, ... All the controls not available in WINDEV are replaced by a caption indicating "<Not imported>"
  • 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 by 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,
  • The code of the project.
When importing a table, display problems may occur.
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment