DDE example
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The i-ddeex1.p ABL procedure uses
the DDE facility to build a Microsoft Excel worksheet of Customer balances
from the sports2000 database and display the Customer payables
distribution in an Excel pie chart. It incorporates most of the
code examples in the previous sections.
The visible DDE frame displays a selection list (DDE History)
showing the server, topic, and item name for each exchange as it
occurs. (Note the custom selection list delimiter ( | ) used in
place of the default comma delimiter that appears in commands.)
When you manually change the balance value in cell r4c2 of
the worksheet, ABL uses an advise link to retrieve and display the
new value in the field labeled Cell R4C2 (Row 4 Col B).
Note: For i-ddeex1.p to work,
you must have Excel in your path or specify the full Excel pathname
for the
prog_name parameter when you run the WinExec
procedure to start Excel. This example assumes that you have Excel
in the default Microsoft Office directory.i-ddeex1.p
|
|