This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Extraction of Data by a Java Program from a VB application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "Extraction of Data by a Java Program from a VB application " Watch "Extraction of Data by a Java Program from a VB application " New topic

Extraction of Data by a Java Program from a VB application


Joined: Jan 30, 2002
Posts: 3
I have an VB application which is run by invoking an exe. I would like to know if there is any way that my Java program can retrieve and extract information from what is shown on the UI forms of my VB application by clicks on certain buttons and so, to get certain output on the display. The data is stored in encrypted form in the some files.
So in short my java progam should be able to go through what is shown on the screen of my vb application retrieve the information shown,( such information is been brought to display by conducting certain clicks on the UI which will read the data from the file -- data is not to be directly read from the files by the java program ).
I am trying to test whether such compatibility can be achievable or not.
Any response would be highly appreciated.
Sean MacLean
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Well, yes you can do it. You just need to invoke the proper Microsoft dlls and integrate them into your java stuff using some JNI.
Aleksey Matiychenko
Ranch Hand

Joined: Apr 03, 2001
Posts: 178
Except if you are doing this you should probably rethink your approach and may be used vb or VC++.
I do not see a benefit of using Java at this point. It is easier and more efficient to use VB or VC++. I know people on this site may not like Microsoft but what's the point of using cross platform language if you are tying it to Windows anyway.
Just a thought.

[ January 31, 2002: Message edited by: Aleksey Matiychenko ]
Have you checked out Aspose?
subject: Extraction of Data by a Java Program from a VB application
It's not a secret anymore!