DDEExecute Instruction
Syntax
DDEExecute ChanNum, Command$[, Timeout]
Group
Description
Send the DDE Execute Command$ string via DDE ChanNum.
Parameters |
Description |
This is the channel number returned by the DDEInitiate function. Up to 10 channels may be used at one time. |
|
Send this command value to the server application. The interpretation of this value is defined by the server application. |
|
The command will generate an error if the number of seconds specified by the timeout is exceeded before the command has completed. The default is five seconds. |
Example
Sub Main
ChanNum = DDEInitiate("PROGMAN","PROGMAN")
DDEExecute ChanNum,"[CreateGroup(XXX)]"
DDETerminate ChanNum
End Sub