Progress
External Program
Interfaces


DDE and Progress

Figure 1–5 shows a series of IPC exchanges between a Progress 4GL application and another Windows application using DDE.

NOTE: Both Progress graphical and character applications can use DDE in Windows.

Figure 1–5: Progress Exchanging Data Using DDE

In this example, the Progress application sets the value of Progress ItemA from Server Item1; sets the value of Server Item2 from Progress ItemB; and executes a command on the Server, possibly returning a data value or error condition.

Progress supports DDE as a client only. This allows Progress database clients to communicate with any other Windows application with DDE server capability. Examples of Windows applications with DDE server capability include the Windows Program Manager, Microsoft Excel for Windows, and Visual Basic applications. As a DDE client, Progress can, for example, create and modify worksheets in Excel, and at the same time automatically receive notification of updates to worksheet cells (data items) from Excel. Excel, as the DDE server, provides this notification by sending an event that Progress can handle in a trigger.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095