ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / DDE functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
DDEDisconnect (Function)
In french: DDEDéconnecte
Deletes a connection between the current program and a recipient.
Example
MyConnection = DDEConnect("Excel", Subject) // Connection
Counter = 3 // Repeats 3 times if necessary
LOOP // Sends the data
IF DDESend(MyConnection, Item, Data, 10) THEN BREAK
Counter --
IF Counter = 0 THEN
Error("The information was not sent to Excel")
BREAK
END
END
DDEDisconnect(MyConnection) // Disconnection
Syntax
<Result> = DDEDisconnect([<Connection identifier>])
<Result>: Boolean
  • True if the disconnection was performed,
  • False if an error occurred (DDEError returns the details of the error).
<Connection identifier>: Optional integer
Connection identifier, returned by DDEConnect. If this parameter is not specified, the current connection is disconnected.
Component: wd290std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help