Stops the automatic execution of a WINDEV application. The automatic execution was defined by
AutoRunAdd.
// -- From a WINDEV application
// Automatically run "MyApp" at startup
AutoRunAdd(alStartup, "MyApp", fExeDir() + "\CustomerManagement.exe")
...
// Stop the automatic run of "MyApp"
AutoRunDelete(alStartup, "MyApp")
Syntax
AutoRunDelete(<Run event> , <Application>)
<Run event>: Integer constant
Event that would start the execution of the application: | |
alStartup | Run the application when the PC is started. |
<Application>: Character string
Name of the application, defined with 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 more details on the error with
ErrorInfo.
Business / UI classification: Business Logic