DDERequest$ Function

Syntax
DDERequest[$](ChanNum, Item$[, Timeout])
Group
DDE
Description
Request information for Item$. If the request is not satisfied then the return value will be a null string.
Pocket PC
Not supported.
Sandbox
Sandbox mode blocks this instruction.
Parameters Description
ChanNum This is the channel number returned by the DDEInitiate function. Up to 10 channels may be used at one time.
Item$ This is the server application's item. 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 completed. The default is five seconds.

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