PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Registry
  • Information automatically saved in the registry
  • Webservice
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
ProjectInfo (Function)
In French: ProjetInfo
Returns specific information about the project currently run.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available for the Windows Phone applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available for the Windows Phone applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available for the Windows Phone applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
Info("Welcome to " + ProjectInfo(piProjectName))
Syntax
<Result> = ProjectInfo([<Type of Information>])
<Result>: Character string
Sought information.
<Type of Information>: Optional integer constant
Type of information to return:
piInternetAddressInternet address defined when creating the executable, the library or the component.
If this constant is used in the project, gives the Internet address corresponding to the project. If this constant is used in a component, gives the Internet address corresponding to the component.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piApplicationInternetAddressInternet address defined when creating the executable, the library or the component.
If this constant is used in a component, gives the Internet address of the application that is using it.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piAnalysisPhysical name without extension of the .WDD file used by the project or by the component. A short name is returned.
AndroidAndroid Widget Java This constant is ignored in this version.
piCCDataPathPath of the data directory for the Control Centers defined when creating the executable, the library or the component.
If this constant is used in the project, gives the path of data directory corresponding to the project.
If this constant is used in a component, gives the path of data directory corresponding to the component.
This constant is used mainly with the "Feedback" component.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piApplicationCCDataPathPath of the data directory for the Control Centers defined when creating the executable, the library or the component.
If this constants is used in a component, gives the path of the data directory for the application that is using it.
This constant is used mainly with the "Feedback" component.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piConfigurationName of the project configuration used to generate the executable or the component currently run.
piCopyrightCopyright defined when creating the executable.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
Versions 23 and later
piGenerationDate
New in version 23
piGenerationDate
piGenerationDate
Generation date of application or component library (WDL).
AndroidAndroid Widget Java This constant is ignored in this version.
piDescriptionDescription of company defined when creating the executable.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piEmailEmail defined when creating the executable, the library or the component.
If this constant is used in the project, gives the email corresponding to the project. If this constant is used in a component, gives the email corresponding to the component.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piApplicationEmailEmail defined when creating the executable, the library or the component.
If this constant is used in a component, gives the email of the application that is using it.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piEXENameName of the executable specified when creating the executable. In test mode (GO), the executable name corresponds to "" (empty string).
Universal Windows 10 App Name of project.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchJava This constant is ignored in this version.
piProjectName
(Default value)
Name of project
piNameCurrentProjectName of project in which ProjectInfo is called.
If this constant is used in the code of main project, the result is the name of main project.
If this constant is used in an external library, the result corresponds to the name of main project.
If this constant is used in a component, the result corresponds to the name of component project.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piNameDeployedSiteReal name of the site deployed (for a WEBDEV site during a multi-site deployment).
In the other cases, the result corresponds to an empty string ("").
piNewFeaturesHelpContextContext number of the page to display in the help file for the new features.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piNewFeaturesHelpNameName of help file for the new features.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piRegistryPath in the registry where the information specific to the project can be saved.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
piCompanyName of company specified when creating the executable.
LinuxAndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppJava This constant is ignored in this version.
Remarks

Registry

ProjectInfo is used to find out the path of registry directory where the information regarding the application will be stored.
In test mode, this path has the following format:
  • In WINDEV: HKEY_CURRENT_USER\Software\PC SOFT\WinDev\23.0\TestMode\Project Name
  • In WEBDEV: HKEY_CURRENT_USER\SOFTWARE\PC SOFT\WebDev\23.0\TestMode\Project Name
  • In WINDEV Mobile: HKEY_CURRENT_USER\SOFTWARE\PC SOFT\WinDev Mobile\23.0\TestMode\Project Name
At run time (from an executable), this path has the following format:
  • HKEY_CURRENT_USER\SOFTWARE\APPLICATIONS_WINDEV\Executable Name: if no company name and no version were specified when creating the executable.
  • HKEY_CURRENT_USER\SOFTWARE\Company Name\Executable Name: if a company name was specified when creating the executable (with no version number).
Reminder: An executable is created via "Workshop .. Executable .. Generate the executable".Reminder: To create an executable, on the "Project" pane, in the "Generation" group, click "Generate".
WINDEVUser code (UMC)

Information automatically saved in the registry

WINDEV allows you to automatically save the different application parameters:
  • Size and position of window ("Details" tab of window description)
  • Size and position of table columns ("Details" tab in the description of Table control, "Store the column configuration" option)
  • Size and position of Toolbar control ("Details" tab in the description of Toolbar control).
This information is saved in the registry, in the information regarding the application (known with the piRegistry constant).
To re-initialize the parameters of the application (in the initialization code of the application for example), you must:
  1. Find the registry key corresponding to the application. This information is returned by ProjectInfo.
  2. Delete this registry key (RegistryDeleteKey).
For example:
ProjectConfig is string = ProjectInfo(piRegistry)
RegistryDeleteKey(ProjectConfig)
WINDEV

Webservice

ProjectInfo used in a Webservice created by WINDEV always returns an empty string ("").
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment