DDEPoke
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
DDEPoke
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
DDEPoke
Assigns a value to a specific item in a remote application.
Syntax
procedure DDEPoke (out tErrCode, inout tServ,
in dde_item, in dde_val)
Parameters
tErrCode | longint, an error code |
tServ | longint, connection handle |
dde_item | char, item name |
dde_val | char, value of the item |
Comments
DDEPoke assigns a value to a specific item in a remote application. Consult the documentation of the remote application for information on what constitutes an item. The value of an item is always given as char.
The filename is ddepoke.pgm.
Example
For example, given that DDE_Err and hServ are of type longint, to set the value of row 1, column 1 in the current spreadsheet, enter the following:
DDEPoke (DDE_Err, hServ, ‘R1C1′, ’25’)
This example “pokes” the value ’25’ into row 1, column 1.
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5