Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Extraction of Data by a Java Program from a VB application

 
Jesal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 621
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic