ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Application update functions
  • Overview
  • Structure of control file
  • The different keywords of the control file
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
Overview
The management of remote control uses a file in INI format. This control file enables you to easily manage the runtime mode of an application as well as the messages displayed according to the mode. By default, this file is named WDUPDATE.NET.
WDADMINEXE allows you to easily manage the creation and the maintenance of this control file.
Structure of control file
The structure of the control file is as follows:
[<Name of the EXE file to control>]
MODE =
MSG_INTERDIT =
MSG_AVERTISSEMENT =
MSG_ARRET =
DELAI =
TEMPS_AFFICHAGE =
This structure is repeated for each executable that must be controlled by the control file.
The different keywords of the control file
The control file contains the following elements:
Name of EXE file to checkName of the executable to control. If the executable is SALESMGT.EXE, the name of the EXE file to control will be SALESMGT.
ModeMode of the controlled application:
  • 0: standard operating mode of the application
  • 1 (acForbidden mode): access denied to the application
  • 2 (acWarning mode): warning of imminent shutdown
  • 3 (acStop mode): application shutdown
MSG_INTERDITMessage to display if the access to the application is forbidden (acForbidden mode).
This message will be displayed to each new user who tries to connect to the application.
MSG_AVERTISSEMENTMessage to display to inform of an imminent shutdown of the application (acWarning mode).
This message will be displayed at regular time intervals to inform the user and to allow him to complete the current task before the application stops.
MSG_ARRETMessage to display to inform of the application shutdown (acStop mode).
This message will be displayed before the application stops.
DELAITimeout for checking the control file (expressed in minutes). This timeout is set to 5 minutes by default.
TEMPS_AFFICHAGEDisplay duration (expressed in seconds) of warning windows. If no action is performed by the user, the window will be automatically closed. By default, this duration is set to 10 seconds.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help