Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sends an execute transaction to the Dynamic Data Exchange (DDE) server.
Syntax
public void execute(str Cmd, [int Wait])
Run On
Client
Parameters
- Cmd
Type: str
The string that represents the execute command.
- Wait
Type: int
The wait time in seconds; optional. The default value is 5. A value of 0 indicates asynchronous transactions.
Remarks
If the wait time is not specified, an asynchronous transaction will be created. Otherwise, a synchronous transaction will be created that has the specified wait time.
If the transaction fails, the method will throw Exception::DDEerror.