PDA

View Full Version : call a VB form from a java application


kcatalin_ro
03-12-04, 08:25 AM
Hi,
Can anybody tell me if I can run a VB form from a java application.It is more like this: I want to push a button from a java application that would trigger a VB application to run.
Somebody told me something about putting the VB app in a dll file, but I don't have a clue.
Thanks!...in advance...

Rob_Darkins
06-14-04, 02:48 PM
well, you can start/open any other app, program, folder using the following code:

String loader = "c:\...\vbAppName";
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler \""+loader+"\"");

That should do it!
Good luck,

Rob Darkins.
Hi,
Can anybody tell me if I can run a VB form from a java application.It is more like this: I want to push a button from a java application that would trigger a VB application to run.
Somebody told me something about putting the VB app in a dll file, but I don't have a clue.
Thanks!...in advance...