Windows Form App Within Another Windows Form App

Windows Form App Within Another Windows Form App

Post by hufaunde » Fri, 05 Jan 2007 06:01:18


I would like to run a windows form application (app2) within another
windows form application (app1). app2 should be displayed within a
certain area of the windows form of app1 (could be inside a panel or
similar). app1 does not need any control over app2 except for starting,
closing, hiding and showing it. Basically, app1 should look like being
a part of app2 despite the fact that they have no knowledge of each
other (except the app name, of course). Is this possible and if so how?

Thanks
 
 
 

Windows Form App Within Another Windows Form App

Post by Chan Ming » Fri, 05 Jan 2007 19:48:52

Maybe you should put the winform from the 2 applications to make it MDI
parent and child.

chanmm

 
 
 

Windows Form App Within Another Windows Form App

Post by hufaunde » Sat, 06 Jan 2007 03:51:04

I am writing app1 but app2 is an external app for which I only have the
executable. This app2 I want to integrate into my app1. How would that
be done?
 
 
 

Windows Form App Within Another Windows Form App

Post by Mel » Sat, 06 Jan 2007 07:10:42

You can't unless the external application was specially written to do that.
 
 
 

Windows Form App Within Another Windows Form App

Post by hufaunde » Sat, 06 Jan 2007 09:10:21

Thanks for your response.
What would the application (app1) to do so that it can be hosted in
another application (app2)?

Thanks