I have created a java function and I wanted to know if someone could provide me with an example of how I would execute that function using an execute function this is the execute function
public void execute(String program)
{
}
__________________
Printable View
I have created a java function and I wanted to know if someone could provide me with an example of how I would execute that function using an execute function this is the execute function
public void execute(String program)
{
}
__________________
Hi,
To execute your java program copy your class file in windows\java\trustlib directory. Now in vb create java object by using GetObject method:
VB Code:
Dim javaObject Set javaObject = GetObject("java:ClassName") MsgBox javaObject.execute("Test") Set javaObject = Nothing