PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Managing errors
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
AutoRunDelete (Function)
In french: AutoLanceSupprime
Used to stop the automatic run of a Windows Mobile or WINDEV application. This automatic run was defined by AutoRunAdd.
Example
Windows Mobile
// -- From a Windows Mobile application
// Automatically run the "OrderProducts.exe" application
// as soon as the Mobile Device (Pocket PC) is synchronized
AutoRunAdd(alEndSynchro, "\MyApplications\OrderProducts.exe")
...
// Stop the automatic run of "OrderProducts" application
AutoRunAdd(alEndSynchro, "\MyApplications\OrderProducts.exe")
Syntax
Windows Mobile

Stopping a Windows Mobile application from a Windows Mobile application Hide the details

AutoRunDelete(<Run event> , <Executable name>)
<Run event>: Integer constant
Event that would trigger the application run:
alStartupRun the application when starting the Mobile Device (after a reinitialization).
alEndSynchroRun the application once the Mobile Device is synchronized (via ActiveSync).
alExitHibernateRun the application when the Mobile Device exits from the standby mode.
<Executable name>: Character string (with quotes)
Name and full path of executable for the application run. This executable is found on the Mobile Device.
Remarks

Managing errors

Caution: AutoRunDelete returns no error code. To find out whether an error was generated by this function, use the ErrorOccurred variable. To find out the error details, use ErrorInfo.
Component : wd250ce.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment