PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
AppChangeParameter (Function)
In French: AppliChangeParamètre
Warning
From version 23, AppliChangeParameter is kept for backward compatibility. This function is replaced by AppChangeParameter.
Changes an information in the mechanism for automatic application update.
Example
Reports and QueriesWindowsUser code (UMC)
IF AppParameter(appUPDMode) = 3 THEN
AppChangeParameter(appUPDMsgStop, ...
"The application " + ProjectInfo(piEXEName) + ...
"will be automatically stopped.")
END
Syntax
<Result> = AppChangeParameter(<Information> , <New Value> [, <Application Path>])
<Result>: Boolean
  • True if the requested information was modified,
  • False if a problem occurred. For more details about the problem, use ErrorInfo.
<Information>: Integer constant
Characteristic of application to modify:
appUPDPathPath of update information on the server.
Windows Mobile Constant not available.
appUPDTimeoutTime-out between two messages (if appUPDMode = 2) or before the application is automatically stopped (if appUPDMode = 3). This time-out is expressed in seconds.
Windows Mobile Constant not available.
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.
Windows Mobile Constant not available.
appUPDMsgStopMessage displayed before the application is automatically stopped (when appUPDMode = 3).
Windows Mobile Constant not available.
appUPDMsgWarningMessage displayed on a regular basis (when appUPDMode = 2).
Windows Mobile Constant not available.
appUPDMsgForbidMessage displayed when the startup of the application is forbidden.
Windows Mobile Constant not available.
appUPDProtocolNetwork protocol used to search for updates. This protocol can correspond to "LOCAL" or to "HTTP".
Windows Mobile Only the HTTP protocol is available.
appUPDNetworkLevel of update:
  • 0: No update.
    The update in network is not used.
  • 1: Network update enabled.
    The available updates are checked and the dialog box of automatic update is displayed.
  • 2: Network update enabled and registration of applications toward the update server.
    The available updates are checked and the dialog box of automatic update is displayed.
    As soon as it is started, the executable creates a ".LOK" file on the server. This file allows WDAdminExe to identify the clients that use the application.
Windows Mobile Only the values 0 and 1 are available.
appUPDServerServer where the updates will be sought.
If the HTTP protocol is used, IP address or name of computer.
If the LOCAL protocol is used, name of network share.
Windows Mobile Full URL used to search for updates.
appUPDLocalVersionVersion number of local executable.
<New Value>: Character string (with quotes)
New value that will be given to the specified information.
<Application Path>: Optional character string (with quotes)
Full path of executable to use. The current application is handled if this parameter is not specified.
Remarks
The new parameters will be taken into account the next time the application is started.
Components
WINDEVReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment