| Author |
Topic  |
|
|
cosy
Germany
Posts |
Posted - 02/25/2004 : 05:33:14 AM
|
Hi, Can anyone please explain the Labtalk DDE command to receive an item from the server
dde -r varId item;
The server uses DDEML which returns a handle to the data on receiving this request, but how is this data handle handled by my client- origin, since Labtalk does not use DDEML. Deepak Samuel. Samuel@iskp.uni-bonn.de |
|
|
sammi.song
China
46 Posts |
Posted - 02/26/2004 : 12:35:03 AM
|
Hi cosy,
I'm not familiar with the DDEML, but there's an example that the server is MS-Excel, hope it would be useful for you to understand the "dde -r varId." 1.Launch MS-Excel with the Book1 open. 2.Enter a num. into A[1], e.g 100. 3.Do not close Book1. Just go back to Origin, and execute the following in Script window: dde -c excel|sheet1 idExcel; dde -r idExcel R1C1; type -b "Value=%Z"; Then, you will get an Attention box in which it displays 'Value=100'.
Thanks, Sammi |
 |
|
| |
Topic  |
|
|
|