The Artima Developer Community
Sponsored Link

Java Answers Forum
Call a java methode from VB project?!?!!? Possible or not?

1 reply on 1 page. Most recent reply: Jan 20, 2003 5:51 AM by srinivas

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
giciorek

Posts: 16
Nickname: gicio
Registered: Dec, 2002

Call a java methode from VB project?!?!!? Possible or not? Posted: Dec 2, 2002 11:57 AM
Reply to this message Reply
Advertisement
HI!

Is it possible to call a methode (from a JAVA class) from a VB project??

When YES... please give me some examples.

thx!


srinivas

Posts: 6
Nickname: srinivas
Registered: Nov, 2002

Re: Call a java methode from VB project?!?!!? Possible or not? Posted: Jan 20, 2003 5:51 AM
Reply to this message Reply
Hi

YES U can call a Java Class method from VB

shell() function rite

example

java source

public class MyMain
{
public void printMsg()
{
some statements
}
}


in VB create a project with a form which it contains a Button in that
under Click event of that Button write the follwing code

private sub Button_Click()

shell("java MyMain")

!if any parameter pass as command args in to the java prog

End Sub


I think so this may helpful to u

Regards

Srini Vallepu

Flat View: This topic has 1 reply on 1 page
Topic: Java Array Coursework Previous Topic   Next Topic Topic: ArrayList

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use