Click here to Skip to main content
15,907,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey I have a favor can somebody tell me what windows form control that I can add to my windows form that allows me to run the game executable inside of the parent form instead of calling the program from the foreign EXE outside of the windows form like you would normally..

Its like a picture box control where the picture can be inside of the parent windows form But for my sake I want this but Have a pc game run inside of the parent windows form does anybody know a visual studio control that I can download to add to the toolbox thanks...

Or some c++ code that can do this for me but a windows form control would be nicer... A download link Please thanks.

What I have tried:

I have researched for some kind of visual studio control but no luck....
Posted
Updated 4-Mar-18 20:58pm
v2

As far as I know, you can't do that, at least without some support coming from the PC game itself (I am not aware of games supporting that).
 
Share this answer
 
No this isnt possible, because an external exe runs in another process and has its own windows.

The only possibility is to get the source code of that exe and embed it into you exe or start it as COM-component.

You will have "no luck" in trying impossible thinks. ;-)
 
Share this answer
 

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