DDEPoke Instruction

Syntax

DDEPoke ChanNum, Item$, Data$[, Timeout]

Group

DDE

Description

Poke Data$ to the Item$ by way of DDE ChanNum.

Pocket PC

Not supported.

Sandbox

Sandbox mode blocks this instruction.

Parameters

Parameters Description
ChanNum This is the channel number returned by the DDEInitiate function. Up to 10 channels may be used at one time.
Item$ This is the server application's item. The interpretation of this value is defined by the server application.
Data$ Send this data value to the server application. The interpretation of this value is defined by the server application.
Timeout The command will generate an error if the number of seconds specified by the timeout is exceeded before the command has completed. The default is five seconds.

Example


Sub Main
    ChanNum = DDEInitiate("PROGMAN","PROGMAN")
    DDEPoke ChanNum,"Group","XXX"
    DDETerminate ChanNum
End Sub