Click here to Skip to main content
Rate this: bad
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
Please Sign up or sign in to vote.

Solution 1

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
-Amit Gajjar
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 Mika Wendelius 161
1 Abhinav S 115
2 Kornfeld Eliyahu Peter 100
3 Suvendu Shekhar Giri 100
4 Peter Leow 100
0 Sergey Alexandrovich Kryukov 8,513
1 OriginalGriff 6,526
2 Peter Leow 3,657
3 Zoltán Zörgő 3,426
4 Richard MacCutchan 2,417

Advertise | Privacy | Mobile
Web03 | 2.8.150123.1 | Last Updated 3 Sep 2012
Copyright © CodeProject, 1999-2015
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