we need to create a application which has a pin button on title bar.
if its clicked the application should get hide on top of the desktop as like connection bar in remote desktop application.
can some one pls tell me how to do that... mearly searched for 1 week but still could't find. connection bar example 
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
I'm not sure you can just catch exception from another process just like that if MyProgram.exe isn't aware of what you want to do.
To be honest, this scenario isn't much different on catching exception from another process on other physical machine or even on the same machine.