Establishes a conversation with a DDE server application that supports the specified service name and topic name.
[ hConv = ] DdeInitiate ( sService, sTopic )
The DdeInitiate procedure syntax has the following parts:
|
Name |
Type |
Description |
|
hConv |
OLE_Handle of the DDE conversation |
|
|
sService |
Val BString |
Service name |
|
sTopic |
Val BString |
Topic name |
Returns 0 if the conversation was not established. The server application that supports the service and topic should already be running. The WinExec procedure can be used to start an application.
hConv=DdeInitiate("EXCEL", "SHEET1")
If hConv = 0 Then
Abort
Endif