Results 1 to 4 of 4

Thread: Calling Java from VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    2
    I need help on how to call Java functions from VB.

  2. #2
    Guest

    Thumbs up

    I think that really depends on what you actually mean.

    My first thought was the Java Native Interface, JNI, which allows you to call native methods from Java and Java from native methods. Unfortunately for VB folks, the examples seem to be for communicating with C/C++ apps.
    http://java.sun.com/docs/books/tutor...ing/index.html

    But from the VB side, you might get by with the "Shell" command, depending on the type of Java app/method/function you are trying to call.

    Hey, looks like there's a cool VB idea at http://forums.vb-world.net/showthrea...threadid=51674
    I haven't been "thinking in VB" for a while (despite my handle).

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    2
    What i mean is that i have a java class with public methods, i want to make referance or something to it in a simple VB project, and than call these Java public methods from the VB project.

    10X.

  4. #4
    New Member
    Join Date
    Sep 2007
    Posts
    1

    Re: Calling Java from VB

    Hi Shahafz

    Did you get the solution for your query. I am also looking for the same. Please let me know if you have got any reply.

    Thanks
    Smita

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width