Solved

Java DDE

Posted on 1997-03-14
4
1,640 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now