_Application.DDEExecute(Int32, String) Method

Definition

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

public:
 void DDEExecute(int Channel, System::String ^ Command);
public void DDEExecute (int Channel, string Command);
abstract member DDEExecute : int * string -> unit
Public Sub DDEExecute (Channel As Integer, Command As String)

Parameters

Channel
Int32

Required Integer. The channel number returned by the DDEInitiate(String, String) method.

Command
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.

Applies to