Click here to Skip to main content
15,066,323 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello there,

I would like your information on an issue that is important to me. Thanks in advance.

I want to mirror a program that I have opened on windows into a winform page. But I don't want to use the Screen Capture process for this process. As you know, Screen Capture takes everything it sees, not just the application. I just want to mirror an application open on windows to my winform page. I request your support in this matter.

thank you.

What I have tried:

I tried Process start code , but this code just open on windows, doesn't in winform.
Updated 5-Aug-21 7:23am

If you have the source code of the program you can use control.DrawToBitmap, see example here: Get the image of a control or form, or a form's client areaC# Helper[^]

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