Solved

Java DDE

Posted on 1997-03-14
4
1,658 Views
Last Modified: 2012-05-04
I'm writing a program in Java, that reads data from different
Windows applications, ie. Intouch, Notepad.

In order to do that I've installed a class called Jddeml in
my CLASSPATH. In the description of the class it says:

  Class Jddeml represents Windows DDE object (server or client).
  Jddeml enables Java applets/applications to interact with Windows
  applications and other applets/applications using Dynamic Data
  Exchange Protocol.

The question is : Has anyone experience in using this class?
I've got some problems telling the DDE-server which application
it's going to retrieve the data from, and what data it's going
to fetch.

The source code of the class Jddeml, I found at:

  http://www.nevaobject.com/java/index.htm

If anyone can help me, I'll be happy.

Thanks in advance!

Trygve B. Reitan
tbr@itk.ntnu.no
0
Comment
Question by:trygve
  • 2
4 Comments
 
LVL 1

Expert Comment

by:fun
ID: 1265022
Why isn't this in the java area?
0
 
LVL 3

Expert Comment

by:RM032397
ID: 1265023
Java is not the same as JavaScript and not everyone who is expert in one is also either expert or knowledgeable about the other.

0
 
LVL 1

Expert Comment

by:moorep
ID: 1265024
why not email the people at www.nevaobject.com. They wrote it.
0
 
LVL 1

Accepted Solution

by:
moorep earned 200 total points
ID: 1265025
DDE works using the following Syntax:
APPLICATION|TOPIC!ITEM.
To use Reuters DDE in Excel for example and you wanted say, Sybases share price you would do this formula:
=REUTER|IDN!'SYBS.O,LAST'
The reason it has a single quote is because you are passing 2 arguments 1)SYBS.O the company stock code and 2)LAST - the last traded price. You will have to specify this syntax and NOT just the application name.

Generally you can find out what Topics and Items are available
by creating a formula array in Excel and use the following:
To find out Reuters TOPICS
=REUTER|SYSTEM!Topics
To find out Reuters ITEMS
=REUTER|TOPICS!Sysitems


0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you need to keep track of a simple list of numbers or strings, the Array object is your most direct tool.  As we saw in my earlier EE Article (http://www.experts-exchange.com/A_3488.html), typical array handling might look like this: (CODE) B…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question