How to make VB6 application talk to java classes? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to make VB6 application talk to java classes?

nagaraj_0510nagaraj_0510 Posts: 1Member
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 [email protected]

Warm Regards
nagaraj

Comments

  • zibadianzibadian Posts: 6,349Member
    : 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
    : [email protected]
    :
    : 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.
Sign In or Register to comment.