Bewerken

Delen via


_Application.DDEInitiate(String, String) Method

Definition

Opens a dynamic data exchange (DDE) channel to another application, and returns the channel number.

public:
 int DDEInitiate(System::String ^ App, System::String ^ Topic);
public int DDEInitiate (string App, string Topic);
abstract member DDEInitiate : string * string -> int
Public Function DDEInitiate (App As String, Topic As String) As Integer

Parameters

App
String

Required String. The name of the application.

Topic
String

Required String. The name of a DDE topic — for example, the name of an open document — recognized by the application to which you're opening a channel.

Returns

Remarks

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

If it's successful, the DDEInitiate method returns the number of the open channel. All subsequent DDE functions use this number to specify the channel.

Applies to