A script-enabled browser is required for this page to function properly.

DDE.EXECUTE

Description

Executes a command string that is acceptable in the receiving DDE server application.

Syntax

DDE.EXECUTE (ConvID, Command, Timeout)

Parameters

Parameter

Type

Description

ConvID

PLS_INTEGER

DDE conversation ID

Command

VARCHAR2

Command string for the server to execute

Timeout

PLS_INTEGER

Timeout duration in milliseconds

Notes

The value of Command depends on what values are supported by the server application.

Timeout specifies the maximum length of time, in milliseconds, that this routine waits for a response from the DDE server application. If the user specifies an invalid number, such as negative number, then the default value of 1000 ms is used. The duration of the timeout depends on machine configuration and the DDE server application.

DDE.EXECUTE Examples

DECLARE
 ConvID PLS_INTEGER;
BEGIN
 /* Open a DDE conversation with Microsoft Excel for Windows */
 ConvID := DDE.Initiate('EXCEL', 'C:/abc.xls');
 /* Recalculate the Excel spreadsheet.*/
 DDE.Execute(ConvID, '[calculate.now()]', 1000);
END;