Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Forms MDI WinForm 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 19: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 at 4-Sep-12 19:32pm
   
thanks I'll definitely use the WCF service.
@amitgajjar at 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
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,192
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 3 Sep 2012
Copyright © CodeProject, 1999-2014
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