PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Managing errors
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
AutoRunDelete (Function)
In french: AutoLanceSupprime
Allows to stop the automatic launch of a WINDEV application. This automatic run was defined by AutoRunAdd.
Example
// -- A partir d'une application WINDEV standard
// Lancement automatique de l'application "MonAppli" au démarrage
AutoRunAdd(alStartup, "MonAppli", fExeDir() + "\GestionClients.exe")
...
// Arrêt du lancement automatique de l'application "MonAppli"
AutoRunDelete(alStartup, "MonAppli")
Syntax
AutoRunDelete(<Run event> , <Application>)
<Run event>: Integer constant
Event that would trigger the application run:
alStartupRun the application when starting the current PC.
<Application>: Character string
Application name defined with function AutoRunAdd.
Remarks

Managing errors

Caution: AutoRunDelete returns no error code. To determine if this function generated an error, use the ErrorOccurred variable. If an error occurs, you can get the details of the error with ErrorInfo.
Business / UI classification: Business Logic
Component: wd270ce.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment