Solved

How to call VB methods in Java

Posted on 2001-06-06
5
258 Views
Last Modified: 2010-05-02
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
Comment
Question by:gururajnb
5 Comments
 
LVL 10

Expert Comment

by:caraf_g
ID: 6159236
Wow. talk about trying to mix oil and water....

<ping>
0
 
LVL 1

Accepted Solution

by:
llewelm earned 50 total points
ID: 6159295
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
 
LVL 5

Expert Comment

by:Droby10
ID: 6159530
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
 
LVL 49

Expert Comment

by:DanRollins
ID: 7133341
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
 
LVL 1

Expert Comment

by:Computer101
ID: 7167827
Comment from expert accepted as answer

Computer101
E-E Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now