tags:

views:

40

answers:

2

Hi!

How I can run handler from one application to another, for example: In application one i have form1 and button.

In application two I have also form1 and button.

Now how I can run handler for button on form1 in first application from applicaton two?

Thanks!

A: 

For this you would need inter process communication (ipc). See this question for more details about ipc in .net.

Ando
A: 

Generally speaking you're gonna need some form on inter-process communication for these two apps to talk to one another. The simplest option in your case (though by far not the most reliable) is to use System.Windows.Forms.SendKeys.Send().

Guido Domenici