DDE.APP_BEGIN
built-in functionThis function begins a conversation with a DDE server application program.
DDE.APP_BEGIN (command, mode)
Parameter |
Type |
Description |
|
|
Command line for executing a program. |
|
|
Application window starting mode. |
PLS_INTEGER
In the Command string, the DDE server application program name can include a path. If the DDE server application name does not include a path, then the following directories are searched:
the current directory
the Windows directory
the Windows system directory
the directory containing the executable file for the current task
the directories listed in the PATH environment variable
the directories mapped in a network
The DDE server application program name may be followed by arguments, which should be separated from the application program name with a space.
Start the DDE server application in either normal, minimized, or maximized
size with the mode parameter. The application
mode constants for DDE.APP_BEGIN
are:
Mode |
Description |
|
Start application window in normal size. |
|
Start application window in minimized size. |
|
Start application window in maximized size. |
This function returns an application identifier
that is a PLS_INTEGER
.
The application identifier is used in all subsequent calls to DDE.APP_END
and DDE.APP_FOCUS
for that application window.
DECLARE
AppID PLS_INTEGER;
BEGIN
/* Start Microsoft Excel with spreadsheet emp.xls loaded. */
AppID := DDE.App_Begin('C:\excel\excel.exe C:\emp.xls',
DDE.APP_MODE_MINIMIZED);
END;
About the DDE
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.