DDE.EXECUTE
built-in procedureThis procedure executes a command string that is acceptable in the receiving DDE server application.
DDE.EXECUTE (convid, command, timeout)
Parameter |
Type |
Description |
|
|
DDE conversation ID |
|
|
Command string for the server to execute |
|
|
Timeout duration in milliseconds |
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.
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;
About the DDE
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.