DDEExecute Instruction
Syntax
DDEExecute ChanNum, Command$[, Timeout]
Group
Description
Sends the DDE Execute Command$ string using DDE ChanNum.
Pocket PC
Not supported.
Sandbox
Sandbox mode blocks this instruction.
Parameters
| Parameters | Description |
|---|---|
| ChanNum | The channel number returned by the DDEInitiate function. Up to 10 channels may be used at one time. |
| Command$ | Sends this command value to the server application. The interpretation of this value is defined by the server application. |
| Timeout | The command generates an error if the specified number of seconds by the timeout is exceeded before the command is complete. The default is five seconds. |
Example
Sub Main ChanNum = DDEInitiate("PROGMAN","PROGMAN") DDEExecute ChanNum,"[CreateGroup(XXX)]" DDETerminate ChanNum End Sub