473,809 Members | 2,736 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IPC using C#.NET Windows application

GVN
Hi All,

Can anyone help me in simulating IPC using C#.NET Windows
application?

Thanks,

GVN

Jul 29 '06 #1
4 12097
Hello GVN,

IPC == Interprocess Communication?

If so, then depending on what you want to communicate you can use kernel
objects (like in pre-.NET) or look at the IPC channel with remoting in .NET
2.0.

Thanks,
Shawn Wildermuth
Speaker, Author and C# MVP
http://adoguy.com
Hi All,

Can anyone help me in simulating IPC using C#.NET Windows
application?

Thanks,

GVN

Jul 29 '06 #2
GVN
By IPC I mean Inter Process Communication. My requirement is as
follows:

I have 4 projects in my solution explorer (say Project A, B, C, D).
Project D has a modeless dialog. This modeless dialog can be raised by
either from Project A or B or C. When raised by any one or all of the
above said projects, the modeless dialog in turn should be able to
respond to the project that last raised it (That is, the modeless
dialog should be able to send some data to the project that raised it).
I hope this can be achieved by using IPC.

Thanks,
GVN.

Shawn Wildermuth (C# MVP) wrote:
Hello GVN,

IPC == Interprocess Communication?

If so, then depending on what you want to communicate you can use kernel
objects (like in pre-.NET) or look at the IPC channel with remoting in .NET
2.0.

Thanks,
Shawn Wildermuth
Speaker, Author and C# MVP
http://adoguy.com
Hi All,

Can anyone help me in simulating IPC using C#.NET Windows
application?

Thanks,

GVN
Jul 29 '06 #3
Hello GVN,

As Shawn told, what to use is up to you.
I'd add Pipes (preferable), and Remoting (let's put away such thing as sockets,
WS, ES)

BTW, see this tool http://www.mini-tools.com/components/comm/index.htm
GBy IPC I mean Inter Process Communication. My requirement is as
Gfollows:
G>
GI have 4 projects in my solution explorer (say Project A, B, C, D).
GProject D has a modeless dialog. This modeless dialog can be raised
Gby either from Project A or B or C. When raised by any one or all of
Gthe above said projects, the modeless dialog in turn should be able
Gto respond to the project that last raised it (That is, the modeless
Gdialog should be able to send some data to the project that raised
Git). I hope this can be achieved by using IPC.
G>
GThanks,
GGVN.
GShawn Wildermuth (C# MVP) wrote:
G>
>Hello GVN,

IPC == Interprocess Communication?

If so, then depending on what you want to communicate you can use
kernel objects (like in pre-.NET) or look at the IPC channel with
remoting in .NET 2.0.

Thanks,
Shawn Wildermuth
Speaker, Author and C# MVP
http://adoguy.com
>>Hi All,

Can anyone help me in simulating IPC using C#.NET Windows
application ?

Thanks,

GVN
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jul 29 '06 #4
Hi GVN,
If you read some threads before yours, you'll see the "Bi-Directional
Remoting with Unmanaged app" thread in which I mentioned that I've
used IPC together with C#.NET in order to communicate with a MFC
soution. That is, I managed to communicate in one direction: from
C#.NET to MFC, by using Delegates + DllImports, importing the WIN32
PostMessage into the C#.NET app.
Unfortunately I haven't found the path back, from MFC to C#.NET, which
is actually what you also need in your situation (because IPC is only
available in Framework version 2.0).
Maybe we can join forces and unravel this problem.

Greetz, Victor.

=============== =============== ===============
On 29 Jul 2006 00:37:32 -0700, "GVN" <mu***********@ hotmail.com>
wrote:
>By IPC I mean Inter Process Communication. My requirement is as
follows:

I have 4 projects in my solution explorer (say Project A, B, C, D).
Project D has a modeless dialog. This modeless dialog can be raised by
either from Project A or B or C. When raised by any one or all of the
above said projects, the modeless dialog in turn should be able to
respond to the project that last raised it (That is, the modeless
dialog should be able to send some data to the project that raised it).
I hope this can be achieved by using IPC.

Thanks,
GVN.

Shawn Wildermuth (C# MVP) wrote:
>Hello GVN,

IPC == Interprocess Communication?

If so, then depending on what you want to communicate you can use kernel
objects (like in pre-.NET) or look at the IPC channel with remoting in .NET
2.0.

Thanks,
Shawn Wildermuth
Speaker, Author and C# MVP
http://adoguy.com
Hi All,

Can anyone help me in simulating IPC using C#.NET Windows
application?

Thanks,

GVN
Jul 29 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2939
by: Cenray | last post by:
How to generate a web request from a Winform Application using a WebService? In a C# Windows Application, when I try to genrate a web request using the following code, it is woking fine Winform code --------------- Browser.DocumentHTML = ""; string HTMLData="";
11
6608
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on where the job is running, the job runs sucessfully, PDF files got generated, everything is good. If I scheduled the job to run at the time that I am not logged into the server, Access is not able to print to the printer. The error is pretty...
2
2425
by: YRao | last post by:
I am going to create intranet application using Windows Authentication using C# asp.net I am having following problem: 1 setting windows Authentication, it will validate for all users, user name and password from ADSI before entering into application this is working fine. Problem Is I am going to categorize users based on their Title properties value
4
3541
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
1
11150
by: Screenbert | last post by:
After finding nothing anywhere in google I am posting this so everyone can benefit by it. The formating is not pretty since I copied it from my word document, but you should benefit by it. Managing DHCP Servers using C# They said it was impossible. It couldn't be done. But you can in fact manage DHCP servers using C#. This includes creating and deleting Scopes, SuperScopes, Reservations, Exclusions, Options and so forth. Since the dll...
0
12361
by: screenbert | last post by:
Managing DHCP Servers using C# They said it was impossible. It couldn't be done. But you can in fact manage DHCP servers using C#. This includes creating and deleting Scopes, SuperScopes, Reservations, Exclusions, Options and so forth. Since the dll that is used was written several years ago by Microsoft, you cannot manage things on the DNS tab when looking at a reservation and few things such as that however it gives you main things you...
3
13808
by: =?Utf-8?B?RGFuZGFuIFpoYW5n?= | last post by:
Now I have a web application, a web service and a SQL Server database. The Web application will invoke the web service, the web service invokes the SQL Server stored procedure. I let the web service run in an application pool which runs under a domain user, this domain user has permissions of accessing database and the connection to database is trusted connection. All these work well. The web application will be used in internet (not...
5
2297
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
This code works fine in Windows Application. In Windows Application, I am able to zip the image files properly and it totally contains 900MB My problem is the same code which I used in my Windows Application, does not work while I run it with Windows services. In my Windows application I am able to zip the whole 900Mb without any problems, but in my windows services I am not able to zip the whole 900Mb. In Windows Services it throws an...
3
4298
by: shobhitguptait | last post by:
How to Run C#.NET Windows App on N/W with centralized DB using SQL SERVER 2000 Hello All...i m really grate full to c such a website where developers try to help people like us who face problems in s/w develepment...I am shobhit Gupta...23 years of age prusuing B.Tech in I.T. Engg. Final Year from Kurukshetra University, Kurukshetra. Recently, i have been working on a project which is to be implemented in a hospital for real life use...Its a...
0
9601
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
10635
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...
1
10378
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10115
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...
1
7653
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
6881
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
5550
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...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.