Hi everyone,

how can I send data from one application to another. Something like a chat. I have 2 applications opened and then I want to send some data, for example label1.text, to the other opened application and then for example show it with a MSGBOX.

Do I nees a server to where both apps will connect?
Where can I find some code example todo it?

thanks.

You are looking at server/client programming.

Here is a nice project for a reference point.

If the computers are already connected in a network you should be able to save each message as a text file, and have a timer on each form that is constantly reading from the file with the message. You would also have to have it recognize when a new message has been added so it knows when to read from the file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.