File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes Accessing 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 » Other JSE/JEE APIs
Bookmark "Accessing Visual Basic DLL from JAVA" Watch "Accessing Visual Basic DLL from JAVA" New topic

Accessing Visual Basic DLL from JAVA

kumar mokkala

Joined: Sep 01, 2005
Posts: 1
Can anybody suggest me a way to acces a Visual Basic DLL from Java.
Any code samples are appreciated.
thanks in advance
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Google for "java com bridge". That should turn up some relevant pointers.
Jayesh Lalwani
Ranch Hand

Joined: Nov 05, 2004
Posts: 502
It's not neccessary that a Visual Basic DLL is going to be a COM object. If the Visual basic DLL is a COM object, then you can use JACOB or other Java-COM bridges to call the DLL. If it's not, then you will have to develop your own C++ JNI layer that will wrap the Visual basic DLL and export the functions to Java
I agree. Here's the link:
subject: Accessing Visual Basic DLL from JAVA
jQuery in Action, 3rd edition