How to call VB methods in Java


  I am facing a problem in accessing VB DLL methods in Java.I just wanted to know like
how can we build a bridge between these two as VB dll is compiled component and Java is based on Byte  Code.

Kindly Guide me.

Who is Participating?
llewelmConnect With a Mentor Commented:
The Java Native Interface (JNI) is used to handle interactions between Java applications and DLL-based code.  Here is a URL for a quick tutorial that may help...
Wow. talk about trying to mix oil and water....

if you're using vj then you can use the package with the IUnknown and Dispatch classes...

if this applies, let me know and i'll post some sample code.
Hi gururajnb,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Accept llewelm's comment(s) as an answer.

gururajnb, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
DanRollins -- EE database cleanup volunteer
Comment from expert accepted as answer

E-E Moderator
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.