Share via


Visual Basic Reference

LinkClose Event

See Also    Example    Applies To

Occurs when a DDE conversation terminates. Either application in a DDE conversation may terminate a conversation at any time.

Syntax

Private SubForm_LinkClose( )

Private Sub MDIForm_LinkClose( )

Private Subobject_LinkClose([indexAsInteger])

The LinkClose event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
index An integer that uniquely identifies a control if it's in a control array.

Remarks

Typically, you use a LinkClose event procedure to notify the user that a DDE conversation has been terminated. You can also include troubleshooting information on reestablishing a connection or where to go for assistance. For brief messages, use the MsgBox function.