Poke Message

HostExplorer Programming

Poke Message

You can use a Poke message to send information to the DDE server HOSTEX. The Poke message lets you send information to identify a new cursor position, press keys, and set the search string. Poke does not return any information.

Examples

The following function sets the cursor position to position 1761. The variable ChanNum represents the DDE conversation ID.

Word for Windows

DDEPoke ChanNum, "Cursor", "1761"

Microsoft Excel 4.0

=POKE( A1, "Cursor", B1 )

Microsoft Excel 5.0 and 7.0

You can poke only data that exists in a cell.

DDEPoke ChanNum," Cursor ",Range("a1")

If you want to Poke data in a text string, you must use the v4.0 macros.


Related Topics

Poke Commands