DDERequest$ Function

Syntax

DDERequest[$](ChanNum, Item$[, Timeout])

Group

DDE

Description

Requests information for Item$. If the request is not satisfied, the return value is a null string.

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 can be used at one time.
Item$ The server application item. The interpretation of this value is defined by the server application.
Timeout Generates an error if the number of seconds specified by the timeout is exceeded before the command is complete. The default is five seconds.

Sub Main
    ChanNum = DDEInitiate("PROGMAN","PROGMAN")
    Debug.Print DDERequest$(ChanNum,"Groups")
    DDETerminate ChanNum
End Sub