DDEAdvise

DDEAdvise — sets up the item for a DDEAdvise connection.

Syntax

(DDEAdvise label item pointname [domain])
    

Arguments

label
A string that identifies the connection for this item.
item
The item name, as a string
pointname
The name of the point with which the item is associated, as a string.
domain
The domain of the point. If unspecified, it defaults to the default domain.

Returns

A message indicating success or error. Please refer to Return Syntax for details.

Description

This command supports a DDEAdvise connection. It associates a DDE item with a point and domain, as well as the label used by the item's service and topic (see DDEConnect). This command is used when you add or edit connections in the DDE option of the Properties window. For more information on DDE connections, please see Section 3.2, “DDE Connections” and Appendix F, DDE Overview.