• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:

How to call VB methods in Java

Hi,

  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.

Gururaj
0
gururajnb
Asked:
gururajnb
1 Solution
 
caraf_gCommented:
Wow. talk about trying to mix oil and water....

<ping>
0
 
llewelmCommented:
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...

http://java.sun.com/docs/books/tutorial/native1.1/index.html
0
 
Droby10Commented:
if you're using vj then you can use the
com.ms.com package with the IUnknown and Dispatch classes...

if this applies, let me know and i'll post some sample code.
0
 
DanRollinsCommented:
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
0
 
Computer101Commented:
Comment from expert accepted as answer

Computer101
E-E Moderator
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now