Home All Groups Group Topic Archive Search About

IPC Examples in VB.net?

Author
30 Mar 2005 8:02 PM
Viet
Is there any Inter-process Communication examples out there in VB.NET?
Specifically, I have app1 that executes app2 as a process and I would like
to have app2 display messages in a status bar in app1. I understand that IPC
is an option to successfully execute this.

TIA!
Jonathan

Author
30 Mar 2005 8:57 PM
Crouchie1998
This question was asked less than a week ago in this newsgroup, but I cannot
remember the subject, so, I am unable to point you to that answer
Author
30 Mar 2005 11:16 PM
Herfried K. Wagner [MVP]
"Viet" <v***@starcalif.com> schrieb:
> Is there any Inter-process Communication examples out there in VB.NET?
> Specifically, I have app1 that executes app2 as a process and I would like
> to have app2 display messages in a status bar in app1. I understand that
> IPC
> is an option to successfully execute this.

There are many different IPC mechanisms like named pipes, socket
communication, .NET remoting, and 'WM_COPYDATA', just to give you some
keywords.

<URL:http://groups.google.de/groups?threadm=ep2YYOILFHA.1096%40tk2msftngp13.phx.gbl>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
30 Mar 2005 11:25 PM
Tom Shelton
In article <OO#8rNWNFHA.1***@TK2MSFTNGP15.phx.gbl>, Viet wrote:
> Is there any Inter-process Communication examples out there in VB.NET?
> Specifically, I have app1 that executes app2 as a process and I would like
> to have app2 display messages in a status bar in app1. I understand that IPC
> is an option to successfully execute this.
>
> TIA!
> Jonathan

What kind of IPC are you looking for?  Sockets are one method, remoting
another.  There are other methods - such as wm_copydata using p/invoke. 
Give some more info, and someone might be able to help.

--
Tom Shelton [MVP]
Author
31 Mar 2005 12:05 AM
Viet
I found a link at http://freevbcode.com/ShowCode.Asp?ID=650 that solves my
issue. I had to convert the code from vb6 to vb.net to make it work. I
didn't know that there were so many ways to implement IPC but apparently
message-hooking works for me.

Thanks for your help, guys!

Show quoteHide quote
"Viet" <v***@starcalif.com> wrote in message
news:OO#8rNWNFHA.1884@TK2MSFTNGP15.phx.gbl...
> Is there any Inter-process Communication examples out there in VB.NET?
> Specifically, I have app1 that executes app2 as a process and I would like
> to have app2 display messages in a status bar in app1. I understand that
IPC
> is an option to successfully execute this.
>
> TIA!
> Jonathan
>
>
>