Asks a DDE server application to accept data and store it in the specified location. There are two ways of calling SetRemote, depending on the type of DDE connection you have established.
To |
Use |
---|---|
Make a single DDE request of a server application (a cold link) |
|
Make a DDE request of a server application when you have established a warm link by opening a channel |
Asks a DDE server application to accept data to be stored in the specified location without requiring an open channel. This syntax is appropriate when you will make only one or two requests of the server.
SetRemote ( location, value, applname, topicname )
Integer. Returns 1 if it succeeds and a negative integer if an error occurs.
Asks a DDE server application to accept data to be stored in the specified location when you have already established a warm link by opening a channel to the server. A warm link, with an open channel, is more efficient when you intend to make several DDE requests.
SetRemote ( location, value, handle {, windowhandle } )
Integer. Returns 1 if it succeeds and a negative integer if an error occurs.