By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,033 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,033 IT Pros & Developers. It's quick & easy.

IPC Examples in VB.net?

P: n/a
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

Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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
Nov 21 '05 #2

P: n/a
"Viet" <vp**@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/>

Nov 21 '05 #3

P: n/a
In article <OO**************@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]
Nov 21 '05 #4

P: n/a
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!

"Viet" <vp**@starcalif.com> wrote in message
news:OO**************@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

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.