_Application.DDEExecute(Int32, String) メソッド

定義

指定された DDE (動的データ交換) チャネルを介して、アプリケーションにコマンドを送信します。

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)

パラメーター

Channel
Int32

整数型 (Integer) の値を使用します。 メソッドによって DDEInitiate(String, String) 返されるチャネル番号。

Command
String

文字列 が必要です。 受信側のアプリケーション (DDE サーバー) が認識できるコマンドを指定します。 受信側のアプリケーションが、指定したコマンドを実行できない場合は、エラーが発生します。

注釈

動的データ交換 (DDE) は比較的古いテクノロジであり、セキュリティで保護されていません。 可能であれば、DDE のより安全な代替手段を使用してください。

適用対象