It's not a secret anymore!
The moose likes Java in General and the fly likes Calling Visual Basic DLL from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Calling Visual Basic DLL from Java" Watch "Calling Visual Basic DLL from Java" New topic

Calling Visual Basic DLL from Java

Suresh Appagundi
Ranch Hand

Joined: Sep 22, 2003
Posts: 44

I want call DLL created using Visual Basic from JAVA.

Very Urgent

Thanks in Advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
First of all, Ease Up.

Secondly, if you want to call a DLL, why don't you? What I mean by that is: is there a question in your post? Have you tried something that didn't work? Tell us the details.
[ September 22, 2005: Message edited by: Ulf Dittmer ]
Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
I Assume that you have problem in JNI. Have a look at
thi spage

Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Rick O'Shay
Ranch Hand

Joined: Sep 19, 2004
Posts: 531
You're missing the .dll extension. Should be "Very Urgent.dll".
Pradeep Kadambar
Ranch Hand

Joined: Oct 18, 2004
Posts: 148
I suggest if you are in such a hurray ... you can surpass the pain/gain in learning JNI by using a ready made tool that has the necessary JNI wrappings.

The tool is JACOM - Java COM Bridge Link

It is pretty stable.

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15092

Unfortunately, the Jacob project to which Pradeep KG provided a link to, has very little documentation.

I've used Jawin in the past, which has better documentation:

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Ritesh Agrawal
Ranch Hand

Joined: Jan 08, 2004
Posts: 74
Hi Suresh,

This same question has been posted several times in this Forum. I would suggest you do a search prior to making a post. Most of the times,for repeated questions, answers too are repeated or nearly the discussion follows one of previously traversed route.

See this : Search First

Type DLL and Java in the search text box and see the number of results you will get. Some of the posts in the results point to good tutorials as well.

Have a look at this earlier posts:

Ritesh<br /> <br />SCJP 1.4<br />IBM Test 340<br />IBM AIX V4.0 Certified Professional<br /> <br />Right actions for the future are the best apologies for wrong ones in the past.<br />- Tyron Edwards
I agree. Here's the link:
subject: Calling Visual Basic DLL from Java
It's not a secret anymore!