ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / DDE functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 ID>])
<Result>: Boolean
  • True if the disconnection was performed,
  • False if an error occurred (DDEError returns the details of the error).
<Connection ID>: Optional integer
Connection identifier, returned by DDEConnect. If this parameter is not specified, the current connection is disconnected.
Component: wd300std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help