Skip to main content

ZIM Development Center (DC) for Zim 7

DDEExecute

DDEExecute

Send commands and macros to the target application.

Syntax

procedure DDEExecute (out tErrCode, inout tServ,\
in app_cmd)

Parameters

tErrCodelongint, an error code
tServlongint, connection handle
app_cmdchar, 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?
5 out Of 5 Stars

1 rating

5 Stars 100%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?

Leave a Reply

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

Table of Contents
en_CAEnglish