PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 error details).
<Connection Identifier>: Optional integer
Connection identifier, returned by DDEConnect. If this parameter is not specified, the current connection is disconnected.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment