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

DDE.APP_END built-in function

This function ends a DDE server application program that DDE_APP_BEGIN built-in function starts.

Syntax

DDE.APP_END (appid)

Parameter

Type

Description

AppID
PLS_INTEGER

Application identifier that is returned from DDE.APP_BEGIN

Restrictions

To terminate a DDE server application, the DDE server application must have been previously started by calling DDE.APP_BEGIN built-in function.

Usage notes

The DDE server application can also be terminated in standard Microsoft Windows fashion, such as by double-clicking the Control menu.

Example


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_NORMAL);
      ...
  /* End Microsoft Excel program. */
     DDE.APP_END(AppID);
END;

See also

About the DDE built-in package

DDE built-in package

DDE built-in exceptions