ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Executable functions
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
Ends the application and restarts it.
Example
// Restart the application
RestartProgram()
Syntax
RestartProgram([<Code Execution>])
<Code Execution>: Boolean
  • True to run the code for ending the project.
  • False (default) to avoid running the closing code of the project.
Remarks
The application is relaunch with the same conditions as the initial launch, in particular with the same command line and environment variables.
Component: wd290vm.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Exemplo RestartProgram
//Reinizalizar Programa

RestartProgram(True)

//Blog com Video e exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/05/curso-windev-funcoes-exe-windows-002.html
https://www.youtube.com/watch?v=A1HEqISjULo
De matos AMARILDO
30 May 2016

Last update: 09/11/2023

Send a report | Local help