ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Project functions
  • Registry
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
ProjectInfo (Function)
In french: ProjetInfo
Returns specific information about the project currently run.
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:
piAnalysisPhysical name without extension of the .WDD file used by the project or by the component. A short name is returned.

AndroidAndroid Widget This constant is ignored in this version.
piApplicationCCDataPathPath of 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 uses it.
This constant is used mainly with the "Feedback" component.

AndroidAndroid Widget 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 uses it.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst 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 uses it.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst This constant is ignored in this version.
piCCDataPathPath of 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 mainly used with the "Feedback" component.

AndroidAndroid Widget This constant is ignored in this version.
piCompanyName of company specified when creating the executable.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst This constant is ignored in this version.
piConfigurationName of the project configuration used to generate the executable file or the component currently run.
piCopyrightCopyright defined when creating the executable.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst This constant is ignored in this version.
piDescriptionDescription of company defined when creating the executable.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst 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.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst This constant is ignored in this version.
piEXENameName of the executable file specified when it was created. In test mode (GO), the executable name corresponds to "" (empty string).

Universal Windows 10 App Project name.
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst This constant is ignored in this version.
piGenerationDateGeneration date of application or component library (WDL).

AndroidAndroid Widget This constant is ignored in this version.
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.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst This constant is ignored in this version.
piNameCurrentProjectName of the project in which ProjectInfo is called.
If this constant is used in the code of the main project, the result is the name of the main project.
If this constant is used in an external library, the result is the name of the main project.
If this constant is used in a component, the result is the name of the component project.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst This constant is ignored in this version.
piNameDeployedSiteReal name of the site deployed (for a WEBDEV site during a multisite 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.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst This constant is ignored in this version.
piNewFeaturesHelpNameName of help file for the new features.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst This constant is ignored in this version.
piProjectName
(Default value)
Project name
piRegistryPath in the registry where the information specific to the project can be saved.

Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst 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\29.0\TestMode\Project name
  • In WEBDEV: HKEY_CURRENT_USER\SOFTWARE\PC SOFT\WebDev\29.0\TestMode\Project name
  • In WINDEV Mobile: HKEY_CURRENT_USER\SOFTWARE\PC SOFT\WINDEV Mobile\29.0\TestMode\Project name
At runtime (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: To create an executable, go to the "Project" tab, "Generation" group, click "Generate".
Component: wd290vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/10/2023

Send a report | Local help