473,608 Members | 2,667 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Communicate between applications

Hi,

I need to transfer text (or maybe binary) data from one .net
application to another .net application. What is the best way to do
this since it's on the same computer and both application may run
different .net framework version.

In a completely different project/context i also need to transfers
data between 2 applications, but this time one is a .net application
and the other is a Win32 application.

In both cases I dont want to use win32 SendMessage.

Thanks for suggestion or examples!
Dec 25 '07 #1
3 2234
Hi,

in your scenario where you run different .net frameworks
and even different runtimes or programming languages i
would recommed the usage of sockets and/or some
windows api supported IPC mechanism like pipes or
shared memory. You said that you dont want to use
SendMessage, so you wont get the chance to use
something like WM_COPYDATA which is very fast
and reliable on a single computer and if your work with
windowed applications, but difficult to use when your
application runs in different desktops stations or when
running as service (this is also a different ds if you run
it non interactive!)

To be sure and use a reliable communication use TCP
Sockets in your application, since this makes your applications
also run cross-boundary like making it possible to run it
on another machine over a network or even over the
internet,....th ats what i recommend...

But if you target the 3.5 NFW you can use WPF and
all the new technologies to communicate between
applications.
Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Dec 25 '07 #2
Take a look at MSMQ

//CY
Dec 25 '07 #3
Take a look at .NET Remoting, and IPC channels.

Greetings,

"SQACSharp" <ls*********@ho tmail.comescrib ió en el mensaje de
noticias:21**** *************** *************** @n20g2000hsh.go oglegroups.com. ..
Hi,

I need to transfer text (or maybe binary) data from one .net
application to another .net application. What is the best way to do
this since it's on the same computer and both application may run
different .net framework version.

In a completely different project/context i also need to transfers
data between 2 applications, but this time one is a .net application
and the other is a Win32 application.

In both cases I dont want to use win32 SendMessage.

Thanks for suggestion or examples!

Dec 27 '07 #4

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

Similar topics

2
1999
by: Anand Ganesh | last post by:
Hi All, How will I make a VB6 application communicate with my VC#.NET application? I want the information to be passed back and forth between these two applications? Any suggestions please. Thanks
1
1717
by: Qumer Mumtaz Goraya | last post by:
Hi How can I communicate between IE and an other application.I am able to communicate between two applications of mine but confused how to do this with IE.I just wanna know how IE get the shared area of memory I am using mailboxes to communicate between two applications. your help will be appreciated With best regrads
4
1239
by: Gery D. Dorazio | last post by:
Gurus, I have a server running Windows Server 2003 Web Edition running multiple web sites on the same server. All the web sites on this server are owned by the same company. The company does secure credit card processing through a payment processing company gateway service. The company that owns the web sites wants to have a single payment gateway mechanism for all the web sites on the server. Instead of having each of the web sites...
11
5521
by: kd | last post by:
Hi All, Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine? Thanks. kd
6
3180
by: Mike9900 | last post by:
How can I connect my .NET app which use remoting to communicate over internet, 2 instance of the same app? My app is already done using .NET Remoting. I am wondering if to change them to WCF or just I can make them communicate over the internet. -- Mike
12
1868
by: MrQuan | last post by:
G'day all, I have a requirement to communicate between two or more PCs over the Internet, however I have no idea how to go about this. I'm not talking about a chat programme as such, I want to have an application running 24/7 on a 'base PC' connected to the internet that can send out data (like a monitoring application). It's not designed for chatting, but sending data used by my application (this can be in the form of a binary file...
8
5512
by: michelqa | last post by:
Hi, I need to communicate between many C# applications. is tcp socket is the best way to do this? Only the main application that send the initial request can be a remote application in a local network Ex:
9
5019
by: Johnny E. Jensen | last post by:
Hello NG I have two applications. App1: Database application. Inserts/updates data to database. App2: Notifier: The notifier checks if a record has been created or modified, by loading the table rows that has notify status 1 or 2. Thats easy. When the notifier finds a record with 1 it brings up a window like in Outlook when new mail.
4
4537
by: hashc | last post by:
hi i want to be able to have two applications in c# visual studio.net 2008 to be able to communicate with each other by passing parameters. for example; Appli1.exe is a form with 4 buttons Appli2.exe should be executed when a particular button is pressed in Appli1.exe, but it should know which button has been pressed, therefore i want to make a call to second application, such as: Appli2.exe(button number) if i were to put it crudely!...
0
8050
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7987
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
6805
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
6000
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
5471
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
3954
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
4015
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2464
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
0
1318
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.