The information in this article applies to:
SUMMARY
With Windows for Workgroups, an application can use Dynamic Data
Exchange (DDE) over a network (NetDDE).
However, to start a DDE conversation over the network, a client
application must establish the DDE conversation with another machine
by specifying the following strings for the application name and topic
where the share name is defined in the [DDEShare] section of
SYSTEM.INI. The default installation of Windows for Workgroups
contains the following DDEShares:
MORE INFORMATION
To illustrate how to use NetDDE, ClipBook will serve as a server
example.
To start a conversation with ClipBook from your application, use the
following strings:
Under normal DDE, this would be viewed as:
This will return a list of SHARED "objects" in the ClipBook. Now that
you have a list of objects, the next step is to query the types of
formats available. For example, assume that "$Test" was returned as an
object. To find a list of formats, start a new conversation with
ClipBook with the following parameters:
This will return a list of the formats, each starting with the "&"
symbol (for example, CF_TEXT will return "&Text").
Using the object name and format type, it is possible to make a connection to the server and return the contents of the topic. The last set of parameters is:
If your application wants to share information via NetDDE, use the
ClipBook program or call one of the NetDDE application programming
interfaces (APIs), which will create an entry in the [DDEShares]
section of SYSTEM.INI. This procedure allows other users to access
your information.
Additional query words: 3.10
Keywords : kbnetwork kbDDE kbGrpUser kbUser |
Last Reviewed: December 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |