13-4
Dynamic Data Exchange
Using The Edit Menu DDE Functions
The most apparent DDE support provided by TeemTalk are the two entries in
the
Edit
menu,
DDE Row Copy
and
DDE Column Copy
.
These two functions do not directly invoke a DDE link to another application. Instead,
they ensure all the information that Microsoft Excel™ would require to establish a
DDE link with TeemTalk is copied to the clipboard. This information consists of item,
topic and application names that TeemTalk would recognise when asked to invoke a
DDE link.
The reason why there are two DDE entries in the Edit menu is to provide the necessary
formatting information to enable data to be pasted into a Microsoft Excel™
spreadsheet as a row or column of cells. When data is copied, the end of each line in
the highlighted area of the display is terminated by a TAB character when
DDE Row
Copy
is selected, and CR and LF characters when
DDE Column Copy
is selected.
Each line is then treated as a separate portion of data or string, which can then be
pasted into separate cells.
Excel recognises these strings as DDE formulae and more importantly as formulae that
would provide data links to TeemTalk. Negotiation then goes on in the form of hidden
windows messages between Excel and TeemTalk and eventually the link is established
(in this situation Excel is the DDE Client with TeemTalk the Server).
DDE permanent links with TeemTalk are not just limited to Excel, however. With the
knowledge of how to set up a permanent link, it is then possible to get TeemTalk to
converse with almost anything.
To establish a link, a client DDE application requires information in the form of
application name
,
topic name
and
item name
. The
application name
is easy. If
you’re running TeemTalk-07W, then the application name is
TT07W
. Similarly, for
TeemTalk-11W it is
TT11W
. The
topic name
is slightly more difficult as it varies
according to the instance(s) of TeemTalk currently running within the Windows
environment. By default the first instance has a topic of
TTLK1
, the second
TTLK2
,
and so on. The easiest way to determine this is to perform a DDE copy of data to the
clipboard within the instance of TeemTalk under question, then using the clipboard
viewer (usually located within the Main Group box), determine what data TeemTalk
has placed into the clipboard. The data is placed in the following form:
Содержание -05W
Страница 1: ...TeemTalk 05W 07W 11W User s Guide...
Страница 38: ...2 24 Getting Started Notes...
Страница 58: ...3 20 Keyboard Configuration Notes...
Страница 152: ...8 20 File Transfer Notes...
Страница 162: ...9 10 ICL FTF File Transfer Notes...
Страница 324: ...13 32 Dynamic Data Exchange Text1 i 12 LinkItem 0 i 80 Text1 i 12 LinkMode 1 Next i End If End Sub...
Страница 336: ...C 6 Key Reference Numbers Notes...
Страница 360: ...E 16 Host Command Summary Notes...
Страница 370: ...Index 10 Index X XMODEM 8 1 XMODEM 1K 8 1 Y YMODEM Batch 8 2 Z ZMODEM 8 2 Zoom Button 2 17...