• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

Calling Visual Basic DLL from Java

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I want call DLL created using Visual Basic from JAVA.

Very Urgent

Thanks in Advance.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I Assume that you have problem in JNI. Have a look at
thi spage
 
Ranch Hand
Posts: 531
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're missing the .dll extension. Should be "Very Urgent.dll".
 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
http://jawinproject.sourceforge.net/
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:

https://coderanch.com/t/369273/java/java/VB-dll-java
https://coderanch.com/t/369248/java/java/dll
https://coderanch.com/t/369634/java/java/Accessing-dll-files-java
 
reply
    Bookmark Topic Watch Topic
  • New Topic