PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
AppParameter (Function)
In french: AppliParamètre
Warning
From version 23, AppliParameter is kept for backward compatibility. This function is replaced by AppParameter.
Returns information about the mechanism for automatic application update.
Example
WindowsUser code (UMC)
IF AppParameter(appUPDMode) = 3 THEN
AppChangeParameter(appUPDMsgStop, ...
"The application " + ProjectInfo(piEXEName) + ...
"will be automatically stopped.")
END
Syntax
<Result> = AppParameter(<Information> [, <Application path>])
<Result>: Character string
Requested information.
<Information>: Integer constant
Characteristic of the application:
appUPDPathPath of update information on the server.
appUPDTimeoutTime-out between two messages (if appUPDMode = 2) or before the application is automatically stopped (if appUPDMode = 3)
appUPDModeCurrent operating mode of application:
  • 0: Standard operating mode.
  • 1: Startup forbidden: the current executables continue to operate.
  • 2: Startup forbidden: the current executables receive a warning message on a regular basis.
  • 3: Startup forbidden: the current executables are automatically stopped after a given time-out.
appUPDMsgStopMessage displayed before the application is automatically stopped (when appUPDMode = 3).
appUPDMsgWarningMessage displayed on a regular basis (when appUPDMode = 2).
appUPDMsgForbidMessage displayed when the startup of the application is forbidden.
appUPDProtocolNetwork protocol used to search for updates. This protocol can correspond to "LOCAL" or to "HTTP".
appUPDNetworkLevel of update:
  • 0: No update.
  • 1: Network update enabled.
  • 2: Network update enabled and registration of applications toward the update server.
appUPDServerServer where the updates will be sought.
Versions 17 and later
appUPDDisplayTime
New in version 17
appUPDDisplayTime
appUPDDisplayTime
Display duration of messages.
appUPDCompatibleVersionMinimum version number compatible with the reference version.
appUPDLocalVersionVersion number of local executable.
appUPDReferenceVersionVersion number of the reference version.
<Application path>: Optional character string (with quotes)
Full path of executable to use. If this parameter is not specified, the current application will be handled.
Component : wd250std.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment