Java

Moderators: zibadian
Number of threads: 7818
Number of posts: 18218

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to make VB6 application talk to java classes? Posted by nagaraj_0510 on 8 Oct 2007 at 4:53 AM
Hi All.

I have an urgent requirement to migrate from VB6 application to java side. My current VB6 application is a thick client having all GUI and business functionality situated in one exe. My client wants to convert the application to java side but by retaining the VB6 GUI as is. Hence i am searching all necessary resources to understand how un-managed VB code can talk to managed java classes. I request people here to help me in this regard by knowing me how we can achieve this interoperability scneraio. If you have any small prototype please share with me. My contact email is nagaraj_0510@yahoo.com.

Warm Regards
nagaraj
Report
Re: How to make VB6 application talk to java classes? Posted by zibadian on 8 Oct 2007 at 5:41 AM
: Hi All.
:
: I have an urgent requirement to migrate from VB6 application to java
: side. My current VB6 application is a thick client having all GUI
: and business functionality situated in one exe. My client wants to
: convert the application to java side but by retaining the VB6 GUI as
: is. Hence i am searching all necessary resources to understand how
: un-managed VB code can talk to managed java classes. I request
: people here to help me in this regard by knowing me how we can
: achieve this interoperability scneraio. If you have any small
: prototype please share with me. My contact email is
: nagaraj_0510@yahoo.com.
:
: Warm Regards
: nagaraj
:
First you need to define an interface from the GUI to the Java. Then you can write the necessary code in VB and in the java JNI.
as far as I can see, the easiest way to do this is to design some sort of "command script language" with which the GUI can give commands to Java and receive the results back. This will make the GUI more static, but dynamic updates are possible by making the GUI issue a command once in a while.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.