PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Creates a hot link with a data.
Creating a "hot" link with a data means that the program will receive the new value of the linked data from the server (connected program) whenever the linked data is modified. Therefore, you must branch to a procedure in response to the DDE event used to modify a linked data (DDEEvent with the DDEtoModify event).
Example
MyConnection = DDEConnect("Excel", "Worksheet1")
DDEEvent("ModifProc", DDEtoModify)
DDELink(MyConnection, "L1C1", 1)
Syntax
<Result> = DDELink(<Connection identifier> , <Object> [, <Timeout>])
<Result>: Boolean
  • True if the link was created,
  • False if an error occurred (DDEError returns the error details).
<Connection identifier>: Integer
Connection identifier, returned by DDEConnect.
<Object>: Character string
Object of connection.
<Timeout>: Optional integer or optional Duration
Maximum wait duration (in seconds). If the command was not run:
  • If <Timeout> is specified, there is a delay of <Timeout> seconds before exiting DDELink.
  • If <Timeout> is not specified, there is an endless wait.
Remark: This parameter can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable,
  • Versions 23 and later
    the duration in clear ('1s' for example).
    New in version 23
    the duration in clear ('1s' for example).
    the duration in clear ('1s' for example).
Remarks
A DDE link must not be enabled during a print: it must be disabled by DDEUnLink.
Component : wd250std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment