Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

call VB application in java

Status
Not open for further replies.

jianbo

Programmer
Dec 19, 2001
78
0
0
US
I want to call a VB application in my java code. I need set bunch of properties and run it. It looks like Runtime.exec() cannot handle this. Is there anyway to call a COM object in java? like
obj = new COM(myVBapplication);
obj->property1 = blur1;
obj->property2 = blur2;
...
obj->run;

 
If that application can be lauched from the command line, I'm pretty sure that Runtime.exec() can handle it.

Anyway, if you want to use COM objects, take a look at or do some googling on java com bridge.

Cheers,

Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top