I wonder how the SendMessage method is used. I have googled around but can´t find any straight forward method of how to just send a String to another application.

I have 2 desktop applications with a Form handle named: "Application1" and "Application2".

I wonder how I will pass the below string from "Application1" to "Application2" ?

String sendThisString = "Hello from Application1";

Recommended Answers

All 2 Replies

you have to use this namespace: using System.Net.Sockets; try to study that

Be a part of the DaniWeb community

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