_Application.DDEExecute Method

Sends a command or series of commands to an application through the specified dynamic data exchange (DDE) channel.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub DDEExecute ( _
    Channel As Integer, _
    Command As String _
)
'Usage
Dim instance As _Application
Dim Channel As Integer
Dim Command As String

instance.DDEExecute(Channel, Command)
void DDEExecute(
    int Channel,
    string Command
)

Parameters

  • Command
    Type: System.String
    Required String. A command or series of commands recognized by the receiving application (the DDE server). If the receiving application cannot perform the specified command, an error occurs.

Remarks

Dynamic data exchange (DDE) is an older technology that is not secure. If possible, use a more secure alternative to DDE.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace