PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
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 Identifier> , <Command to Run> [, <Time-out>])
<Result>: Boolean
  • True if the command was run,
  • False if an error occurred (DDEError returns the error details).
<Connection Identifier>: Integer
Connection identifier, returned by DDEConnect.
<Command to Run>: Character string
Command that must be run on the DDE server.
<Time-out>: Optional integer or optional Duration
Maximum wait duration (in seconds). If the command was not run:
  • If <Time-out> is specified, there is a delay of <Time-out> seconds before exiting from DDEExecute.
  • If <Time-out> 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,
  • Versions 23 and later
    the duration in clear ('1s' for example).
    New in version 23
    the duration in clear ('1s' for example).
    the duration in clear ('1s' for example).
Component : wd240std.dll
See also
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment