_Global.DDEInitiate(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.