The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Labtalk DDE

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
cosy 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
1   L A T E S T    R E P L I E S    (Newest First)
sammi.song 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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000