_Global.DDEPoke Method
Uses an open dynamic data exchange (DDE) channel to send data to an application.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub DDEPoke ( _
Channel As Integer, _
Item As String, _
Data As String _
)
'Usage
Dim instance As _Global
Dim Channel As Integer
Dim Item As String
Dim Data As String
instance.DDEPoke(Channel, Item, Data)
void DDEPoke(
int Channel,
string Item,
string Data
)
Parameters
- Channel
Type: System.Int32
Required Integer. The channel number returned by the DDEInitiate method.
- Item
Type: System.String
Required String. The item within a DDE topic to which the specified data is to be sent.
- Data
Type: System.String
Required String. The data to be sent to the receiving application (the DDE server).
Remarks
Dynamic data exchange (DDE) is an older technology that is not secure. If possible, use a more secure alternative to DDE.
If the DDEPoke method isn't successful, an error occurs.