Entry
Delphi: DDE: DDEclient/server: Use: How to use DDE?
Oct 5th, 2003 10:10
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 05 October 2003 - 06:51 pm --------------------
Delphi: DDE: DDEclient/server: Use: How to use DDE?
---
[help: source: program: Delphi 7]
---
Dynamic Data Exchange (DDE) sends data to and receives data from other
applications.
---
With Delphi, you can use this data to exchange text with
other applications.
---
You can also send commands and macros to other
applications, so your application can control other applications.
---
Here is a typical way to use DDE: a link between two applications is
established, either by your application or the other application.
---
Once
this link (called a conversation) is established, the two applications
can continuously and automatically send text data back and forth.
---
When
the text changes in one application, DDE automatically updates the text
in the other.
---
To understand DDE applications, you need to become familiar with the
concept of DDE conversations.
---
---
When to use DDE?
You want to use DDE when exchanging distinct text strings.
---
If all you
want to know is the bottom line of a profits spreadsheet, it makes
sense to link the cell that contains the bottom line to a Delphi DDE
client application.
---
You could then output the data in an edit box or label.
---
DDE protects
the data in the spreadsheet by not allowing the user to activate and
edit the spreadsheet from your client application.
---
Note: Not all applications support DDE.
---
To determine whether an
application supports DDE, refer to its documentation.
---
---
Internet: see also:
Delphi: DDE: DDEclient/server: Create: How to create a DDE server
application?
http://www.faqts.com/knowledge_base/view.phtml/aid/25164/fid/175
Delphi: DDE: DDEclient/server: Create: How to create a DDE client
application?
http://www.faqts.com/knowledge_base/view.phtml/aid/25162/fid/175
----------------------------------------------------------------------