PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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")
Reports and QueriesWindowsUser code (UMC)
// -- From a WINDEV application
// Automatically run the "MyApp" application
// as soon as the Mobile Device (Pocket PC) connects to the current computer
AutoRunAdd(alConnectionPocket, "MyApp", fExeDir() + "\CustomerManagement.exe")
...
// Stop the automatic run of "MyApp" application
AutoRunDelete(alConnectionPocket, "MyApp")
Syntax
Windows Mobile

Stopping the run of 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.
Reports and QueriesWindowsUser code (UMC)

Stopping the run of a WINDEV application from a WINDEV application Hide the details

AutoRunDelete(<Run Event> , <Application Name>)
<Run Event>: Integer constant
Event that would trigger the application run:
alConnectionPocketRun the application when the Mobile Device connects to the current PC.
alDisconnectionPocketRun the application when the Mobile Device is disconnected from the current PC.
alStartupRun the application when starting the current PC.
<Application Name>: Character string (with quotes)
Application name, defined by AutoRunAdd.
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.
Components
WINDEVReports and QueriesWindows Mobile wd230ce.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment