9.0
135
DDEInitiate Function
Syntax
DDEInitiate(App$, Topic$)
Group
DDE
Description
Initiate a DDE conversation with App$ using Topic$. If the conversation is successfully started then the return
value is a channel number that can be used with other DDE instructions and functions.
Parameter Description
App$ Locate this server application.
Topic$ This is the server a
pp
lication's to
p
ic. The inter
p
retation of this value is defined b
y
the
server application.
Example
Sub Main
ChanNum = DDEInitiate("PROGMAN","PROGMAN")
DDEExecute
ChanNum,"[CreateGroup(XXX)]"
DDETerminate
ChanNum
End
Sub
DDEPoke Instruction
Syntax
DDEPoke ChanNum, Item$, Data$[, Timeout]
Group
DDE
Description
Poke Data$ to the Item$ via DDE ChanNum.
Parameter Description
ChanNum This is the channel number returned by the DDEInitiate function. U
p
to 10 channels
may be used at one time.
Item$ This is the server a
pp
lication's item. The inter
p
retation of this value is defined b
y
the
server application.
Data$ Send this data value to the server application. The interpretation of this value is
defined by the server application.
Timeout The command will generate an error if the number of seconds specified by the
timeout is exceeded before the command has com
p
leted. The default is five seconds.
Example
Sub Main
ChanNum = DDEInitiate
("PROGMAN","PROGMAN")










