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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Labtalk DDE
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

cosy

Germany
Posts

Posted - 02/25/2004 :  05:33:14 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000