Click here to Skip to main content
12,400,183 members (47,059 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# Forms MDI Capture
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 2-Sep-12 18:12pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 3 Sep 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100