613-518-1166 info@zimdatabases.com

ZIM Development Center (DC) for Zim 7

DDEExecute

< All Topics

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.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?

Submit a Comment

Your email address will not be published. Required fields are marked *

Table of Contents