|
|
|
|
DDEExecute (Function) In french: DDEExecute Sends a command that will be run on the server. MyConnection = DDEConnect("Excel", "System") DDEExecute(MyConnection, "[Error(False)]") // End Excel DDEExecute(MyConnection, "[EXIT()]") DDEDisconnect(MyConnection)
Syntax
<Result> = DDEExecute(<Connection identifier> , <Command to Run> [, <Timeout>])
<Result>: Boolean - True if the command was run,
- False if an error occurred (DDEError returns the details of the error).
<Connection identifier>: Integer Connection identifier, returned by DDEConnect. <Command to Run>: 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.
Remark: This parameter can correspond to: - an integer corresponding to the number of seconds,
- a Duration variable,
- the duration in clear ('1s' for example).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|