Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I made two separate programs, the first one is supposed to capture the other program and the second one is supposed to show a messagebox stating that it has been captured.

first question: How do I get program 1 to capture any running program, like a "black hole"?

second question: How do I make program 2 show me a message when it is captured?

Progress: I have both programs set up... the first program's form has the mdi capability set to true.

All help is always appreciated thanks.
Posted

1 solution

Hi,

What you are asking may be possible but i am not prefer to access running program directly.

Instead what i suggest you to create one Intermediate XML file for transmitting data between both the application. I don't know what you would like to achieve from attaching both the application but hopefully you would like to communicate between both application and also want to share some information.

If you really want to use some functions from other application then go for WCF service instead trying to access other application (it's like virus infection.)

Hope this information helps you
Thanks
-Amit Gajjar
 
Share this answer
 
Comments
MR. AngelMendez 4-Sep-12 19:32pm    
thanks I'll definitely use the WCF service.
AmitGajjar 5-Sep-12 0:07am    
Your welcome

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900