|
|
|
|
|
DDESend (Function) In french: DDEEnvoie Sends a data to the program connected via DDE. MaConnexion = DDEConnect("Excel", Sujet)
Compteur = 3
LOOP
IF DDESend(MaConnexion, Item, Data, 10) = True THEN BREAK
Compteur --
IF Compteur = 0 THEN
Error("L'information n'a pas pu être envoyée à Excel")
BREAK
END
END
DDEDisconnect(MaConnexion)
Syntax
<Result> = DDESend(<Connection ID> , <Object for Sending> , <Data> [, <Timeout>])
<Result>: Boolean - True if the sending was performed,
- False if an error occurred (DDEError returns the details of the error).
<Connection ID>: Integer Connection identifier, returned by DDEConnect. <Object for Sending>: Character string Object for sending to the program. <Data>: Character string Data that must be sent to the connected program. <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 DDESend.
- 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').
Remarks Limit The size of the parameters used by DDESend is limited to 1000 characters.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|