ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Application update functions
  • Remote check of a WINDEV application
  • Operating mode
  • Default operating mode and custom operating mode
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
Remote check of a WINDEV application
The remote control of a WINDEV application allows the manager of a network application to manage the automatic shutdown of the application for all the current users. The application shutdown may be required when updating the application or the database for example.
The remote check allows you to modify the operating mode of the application.
Several modes are available:
  • Standard operating mode of the application: the application can be used as usual.
  • Forbid any new connection to the application: a message is displayed whenever the application is run. The application cannot be started.
  • Warning of imminent application shutdown: the message is displayed for all the connected users, at regular time intervals.
  • Immediate shutdown of the application: a message is displayed and the application shuts down.
Operating mode
The management of remote control is performed via an INI file. This file contains the references of the different applications to check and, for each one of them, the characteristics of the check to perform (for more details, see Structure of control file).
This control file (named WDUPDATE.NET by default) is created and maintained by the WDADMINEXE application. On a regular basis, the executable consults this control file and automatically triggers the action related to the specified modes.
The different steps for controlling the application are as follows:
  1. The WDUPDATE.NET file is modified by the administrator of the application.
  2. The WDUPDATE.NET file is regularly checked by the application.
  3. If the mode is modified, the application automatically displays the corresponding messages (specified in the control file) on the user computers.
ModeEffects on new usersEffects on users already connected
New connection forbidden (acForbidden constant)Displays a message for each new connection (this message can be configured).
This message can for instance indicate that the application is currently modified, and ask the users to retry later.
Without any user action, this message is automatically closed after a period of time (customizable). The application does not start.
No effect.
Standard use of the application.
Warning mode (acWarning constant)Displays a message for each new connection (this message can be configured).
This message can for instance indicate that the application is currently modified, and ask the users to retry later.
Without any user action, this message is automatically closed after a period of time (customizable). The application does not start.
Displays a message at regular time interval (customizable message and timeout).
This message can for instance indicate that the application will be stopped for modification, and ask the users to complete their current task as soon as possible.
Shutdown mode (acStop constant)Displays a message for each new connection (this message can be configured).
This message can for instance indicate that the application is currently modified, and ask the users to retry later.
Without any user action, this message is automatically closed after a period of time (customizable). The application does not start.
Displaying a message indicating that the application will be closed and closing the application (configurable message).
The application is closed.
Default operating mode and custom operating mode
By default, the windows displayed to the user are standard windows. These windows cannot be modified when the application is implemented.
No programming is required.
A custom operating mode can be implemented in two ways:
Related Examples:
WD RemoteControl Training (WINDEV): WD RemoteControl
[ + ] This example is used to implement the remote control of a WINDEV application.
This control is used to inform the users of the application closing, to prevent new users from connecting and to close the application.
This mode must be reserved to the administrator of the application.
Important: to run the test of this example, it must be deployed as "Setup with network update".
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help