Applies to

Edit box, edit line.

Description

Part one of the DDE three-level hierarchy. Used in conjunction with DDETOPIC to establish a DDE connection. Specifies the application that is to function as server.

Usage

existingprop = Set_Property (objectname, "DDESERVICE", application)

serviceapp = Get_Property (objectname, "DDESERVICE")

Remarks

Values passed in Set_Property:

ValueDescription
applicationDDE name for an application to function as server. Typically, this is the name of the *.EXE file.

Returns

Values returned by both Get_Property and Set_Property:

ValueDescription
serviceappName of current server application.
ExistingpropCurrent server application, when Set_Property was run.

Each DDE server-capable application has a specified name to which it responds when DDE service is requested. Typically, this is the name of the *.EXE file, but check with the server application for more details.

When DDESERVICE is set, the system will check to see whether DDETOPIC is also set (non-null value). If so, the system will terminate any existing connection, and will attempt to establish a DDE conversation for the specified Service/Topic pair. If DDESERVICE is not set, then setting DDESERVICE will terminate any existing connection, and store the service name, without attempting to establish a connection.

See also

DDETOPIC propertyDDEITEM property.

  • No labels