This documentation is archived and is not being maintained.

Visual Basic Reference

Visual Studio 6.0

LinkOpen Event

See Also    Example    Applies To

Occurs when a DDE conversation is being initiated.


Private Sub Form_LinkOpen(cancel As Integer)

Private Sub MDIForm_LinkOpen(cancel As Integer)

Private Sub object_LinkOpen([index As Integer,]cancel As Integer)

The LinkOpen event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
cancel An integer that determines whether the DDE conversation is established or not. Leaving cancel set to 0 (the default) establishes the conversation. Setting cancel to any nonzero value refuses the conversation.
index An integer that uniquely identifies a control if it's in a control array.


This event occurs for forms when a destination application is initiating a DDE conversation with the form. It occurs for controls when a control is initiating a DDE conversation with a source application.