473,624 Members | 2,117 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IPC Examples in VB.net?

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
4 9519
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
"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.d e/groups?threadm= ep2YYOILFHA.109 6%40tk2msftngp1 3.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
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
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******** ******@TK2MSFTN GP15.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1277
by: Thomas Guettler | last post by:
Hi! I read "How Python is developed" (comp.lang.python.announce), and think that there could be more examples in the docs. One think I really like to see: An example with mycmp(a, b)... in the documentation for sort(). I would add DSU (Decorate, sort, undecorate) there, too.
1
2566
by: Ron Kneusel | last post by:
I have installed VTK 4.2.6 and Python 2.3.4. Both are working and I can run the VTK Python examples except for those in the GUI directory. These always fail with messages similar to this: /home/rkneusel/VTK/Examples/GUI/Python> python2.3 BoxWidget.py Traceback (most recent call last): File "BoxWidget.py", line 57, in ? boxWidget = vtk.vtkBoxWidget() AttributeError: 'module' object has no attribute 'vtkBoxWidget'
14
1976
by: Jim Hubbard | last post by:
I am looking for documentation and code examples on DDML (Display Driver Management Level). It is mentioned in the 2000, XP and 2003 DDKs - but just barely. It has to do with mirroring a display from one PC to another (like pcAnywhere, Citrix, MS RDC and GoToMyPC does). In fact, MS included it specifically for this purpose (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/apcompat/a...
2
2067
by: Rory Plaire | last post by:
Hi, I've been working with the J# browser control. I understand that v1.1b is scriptable, but can't find any examples on how to do this. Can someone point me in the right direction? thanks, -rory
1
2592
by: sam++ | last post by:
Hi, I cd into examples/DLL/ and type "make", it failed to compile the example. The error is: # make make - -f DLL_Today.bor all make: don't know how to make all. Stop *** Error code 2 Stop in /usr/ports/devel/ace+tao/work/ACE_wrappers/examples/DLL.
19
2969
by: Dales | last post by:
I have a custom control that builds what we refer to as "Formlets" around some content in a page. These are basically content "wrapper" sections that are tables that have a colored header and provide an open TD with a DIV in it for the content of this formlet. (The DIV is for DHTML to hide and show the content) I've created a web page showing step by step the two problems I'm encountering. This problem is much easier to see than it...
102
7026
by: Xah Lee | last post by:
i had the pleasure to read the PHP's manual today. http://www.php.net/manual/en/ although Pretty Home Page is another criminal hack of the unix lineage, but if we are here to judge the quality of its documentation, it is a impeccability. it has or possesses properties of:
4
2160
by: Michael | last post by:
Hi! (OK, slightly silly subject line :) I'm extremely pleased to say - Kamaelia 0.4.0 has been released! What's New & Changed? =====================
1
1171
by: AppleBag | last post by:
Hello I have found examples of using an .mdb file in VS2K3, but apparently the components in the toolbox are different than the ones shown in the 2K3 examples. I have google'd and searched high and low, and for the life of me cannot find any examples on how to add/read/write to an access db in vs 2k5. I'd really appreciate if someone could point me to a link with examples, or just give me some examples here.
10
3042
by: =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post by:
controlsPlease could some of you here post some of your live examples of AJAX (esp drag panels, collapsable panels, and popup menu.) (It's one thing to talk about how great something is, but it's another to really see how great something is.) Thanks -- Share The Knowledge. I need all the help I can get and so do you!
0
8174
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8680
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8624
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7164
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6111
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4082
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1485
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.