Share via


DDEClient.poke Method

Sends unsolicited data to the server. This method is used by clients.

Syntax

public void poke(
    str Item, 
    str Data, 
   [int Wait])

Run On

Client

Parameters

  • Item
    Type: str
    The Dynamic Data Exchange (DDE) server item.
  • Data
    Type: str
    The string data to send to the DDE server.
  • Wait
    Type: int
    The wait time in seconds; optional. The default value is 5. A value of 0 indicates asynchronous transactions.

Remarks

If the transaction fails, the method throws Exception::DDEerror.

See Also

Reference

DDEClient Class