This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
Author

Extraction of Data by a Java Program from a VB application

Jesal
Greenhorn

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
author
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
"Jesal",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . 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.
Thanks.
Sean
Cindy Glass
"The Hood"
Sheriff

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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Extraction of Data by a Java Program from a VB application
 
Similar Threads
MVC
Need help with JQuery - JSON - Java
Java VB communication
Rereshing after modification / Listing
Java VB communication