|
-
Mar 19th, 2007, 02:13 PM
#1
Thread Starter
New Member
Invoking a VB app from another application
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
-
Mar 19th, 2007, 05:22 PM
#2
Hyperactive Member
Re: Invoking a VB app from another application
How about via ports or sockets calls.
Truly, you have a dizzying intellect.
-
Mar 19th, 2007, 05:27 PM
#3
Thread Starter
New Member
Re: Invoking a VB app from another application
Ports or sockets ... a possibility, I suppose, but seems low-level and fragile to me ..
I would like to know if there is a COM solution for what I am trying to do.
Or other distributed computing technique -- .NET remoting?
You COM experts out there -- have you done any JAVA / VB inter-op?
Bowden
-
Mar 20th, 2007, 05:32 PM
#4
Re: Invoking a VB app from another application
 Originally Posted by wisegb
Ports or sockets ... a possibility, I suppose, but seems low-level and fragile to me ..
IE keeps failing when you access web pages - via ports and sockets?
I would like to know if there is a COM solution for what I am trying to do.
Or other distributed computing technique -- .NET remoting?
You COM experts out there -- have you done any JAVA / VB inter-op?
I think most of us use TCP tools (like sockets) to connect two computers that have a TCP link between them. It's the easiest way.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|