473,385 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 2225
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,....thats 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*********@hotmail.comescribió en el mensaje de
noticias:21**********************************@n20g 2000hsh.googlegroups.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
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....
1
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...
4
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...
11
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
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...
12
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...
8
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...
9
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...
4
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...

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.