DDEExecute
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
DDEExecute
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
DDEExecute
Send commands and macros to the target application.
Syntax
procedure DDEExecute (out tErrCode, inout tServ,
in app_cmd)
Parameters
tErrCode | longint, an error code |
tServ | longint, connection handle |
app_cmd | char, command or macro to be executed |
Comments
DDEExecute sends target application specific commands and macros to be executed by the remote application. Consult the documentation of the remote application for information on these commands.
The filename is ddeexec.pgm.
Example
For example, given that DDE_Err and hServ are of type longint and that hServ has been set by a previous call to DDEConnect, to send the ‘[NEW(1)]” command to EXCEL
DDEExecute(DDE_Err, hServ, ‘[NEW(1)]’)
instructs EXCEL to open a new spreadsheet.
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