Solved

How to call VB methods in Java

Posted on 2001-06-06
5
257 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
Comment Utility
Wow. talk about trying to mix oil and water....

<ping>
0
 
LVL 1

Accepted Solution

by:
llewelm earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Comment from expert accepted as answer

Computer101
E-E Moderator
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

762 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

12 Experts available now in Live!

Get 1:1 Help Now