ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / DDE functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
DDEExecute (Function)
In french: DDEExecute
Sends a command that will be run on the server.
Example
MyConnection = DDEConnect("Excel", "System")
DDEExecute(MyConnection, "[Error(False)]")
// End Excel
DDEExecute(MyConnection, "[EXIT()]")
DDEDisconnect(MyConnection)
Syntax
<Result> = DDEExecute(<Connection ID> , <Command to execute> [, <Timeout>])
<Result>: Boolean
  • True if the command was run,
  • False if an error occurred (DDEError returns the details of the error).
<Connection ID>: Integer
Connection identifier, returned by DDEConnect.
<Command to execute>: Character string
Command that must be run on the DDE server.
<Timeout>: Optional integer or optional Duration
Maximum wait duration (in seconds). If the command was not run:
  • If <Timeout> is specified, there is a delay of <Timeout> seconds before exiting DDEExecute.
  • If <Timeout> is not specified, there is an endless wait.
Note: This parameter can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable,
  • duration in plain text (e.g. '1s').
Component: wd300std.dll
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help