wisegb
Mar 19th, 2007, 02:13 PM
Hi,
I would like to have my VB6 application inter-operate with another application.
The other application is a java-based application running on another machine. So I have been looking at DCOm and related java-2-com bridges such as j-interop and Jintegra.
The VB application has a user interface e.g., textboxes, etc. I would like the other java-based app to be able to send messages to my VB app so that it may update it's UI in some way (update a text box or list box for example).
My question is can I create a COM object on the VB side and then have the other application invoke methods on that already existing object? I have seen examples on how to create a new instance of a COM object, but that is not what I want. I want to be able to create an object via VB and then somehow expose that object to the other app.
Or is there a simpler way to do this?
Thanks
Bowden
I would like to have my VB6 application inter-operate with another application.
The other application is a java-based application running on another machine. So I have been looking at DCOm and related java-2-com bridges such as j-interop and Jintegra.
The VB application has a user interface e.g., textboxes, etc. I would like the other java-based app to be able to send messages to my VB app so that it may update it's UI in some way (update a text box or list box for example).
My question is can I create a COM object on the VB side and then have the other application invoke methods on that already existing object? I have seen examples on how to create a new instance of a COM object, but that is not what I want. I want to be able to create an object via VB and then somehow expose that object to the other app.
Or is there a simpler way to do this?
Thanks
Bowden