473,378 Members | 1,500 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,378 software developers and data experts.

[C#]send data from one application to another application

In c # vs.net 2005 (windows application) is it possible to send data from one application to another application. Can the content in textbox of one application can b sent to textbox of another application in c# vs.net(windows application)?
Jan 29 '10 #1

✓ answered by tlhintoq

There are probably a few ways to do it.
One way for example would be sending UDP or TCP/IP messages.
Each of your programs would be looking for packets on a specific port, that follow a scheme of your choosing to confirm it came from your application and not someplace else. Kind of a simple client/server communication.

Or the 'SendMessage' function which can be done as a .NET function or pInvoke import

Or .NET remoting

It just all depends on your needs and amount of data etc.

By the way... I might suggest that in the future you give your questions/threads a more meaningful title than "hi". Titles that don't summarize your question or trouble or error are easy to overlook.
http://bytes.com/faq.php?faq=posting...ask_a_question

2 8087
tlhintoq
3,525 Expert 2GB
There are probably a few ways to do it.
One way for example would be sending UDP or TCP/IP messages.
Each of your programs would be looking for packets on a specific port, that follow a scheme of your choosing to confirm it came from your application and not someplace else. Kind of a simple client/server communication.

Or the 'SendMessage' function which can be done as a .NET function or pInvoke import

Or .NET remoting

It just all depends on your needs and amount of data etc.

By the way... I might suggest that in the future you give your questions/threads a more meaningful title than "hi". Titles that don't summarize your question or trouble or error are easy to overlook.
http://bytes.com/faq.php?faq=posting...ask_a_question
Jan 30 '10 #2
Curtis Rutland
3,256 Expert 2GB
Fixed the title to be more descriptive.

--insertAlias
moderator
Feb 2 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Manfred Braun | last post by:
Hi All, I am trying to understand the blocking method socket.Send(). The call blocks as expected, but does this mean, it returnes after the underlying TCP layer got a confirmation, that the send...
3
by: Simon | last post by:
Hi, I have webpage (sql.aspx) in asp.net with a big textbox. In this box, I generate SQL queries. Some of the queries can takes more than 2000 characters lenght. I want to send the content of the...
9
by: eswanson | last post by:
I have a web page I need to post a file plus some other fields to it. How can I do this from a asp.net page. I know I can send individual fields to the other page, but how do I send a file to the...
14
by: eliss.carmine | last post by:
I'm using TCP/IP to send a Bitmap object over Sockets. This is my first time using C# at all so I don't know if this is the "right" way to do it. I've already found out several times the way I was...
2
by: Mesan | last post by:
Hello everyone, Thanks to many useful posts in this newsgroup and others, I've been able to come very close to something I've been wanting to do for a very long time. I've figured out how to...
7
by: M O J O | last post by:
Hi, What is the easiest way to send a string from one application to another? I'm develloping an OutlookAddIn and in some cases I need to make my OutlookAddIn send a string to my other (CRM)...
5
by: gaurierram | last post by:
Hiii, I want to send data from one pc to another. How should i do that?? Can u please send me the code for that as soon as possible?? Because i hav only 8 days to complete my project. i dont have...
4
by: Eran.Yasso | last post by:
Hi all, I am trying to write application which runs on my PC that sends data to an application running on Windows mobile. The problem is that the tcp over activesync doesn't work. The device is...
5
by: Markgoldin | last post by:
I am searching for a solution of sending messages from not .Net process into a .Net process written in C#. I have gone already thru sockets solution and have porblems with it. I am not a C# coder...
3
by: Giampaolo Rodola' | last post by:
Hi, I'd like to know if there's a way to determine which is the best buffer size to use when you have to send() and recv() some data over the network. I have an FTP server application which, on...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.