By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,184 Members | 1,500 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,184 IT Pros & Developers. It's quick & easy.

Running an external program inside another form

P: 7
hello,

i have a windows application which is fully self sufficient..it has a form with a few controls and the usual event handling...
i made another windows application with a tabcontrol with a tabpage inside it..i want to load the form of first application inside the tabpage of second application..
so that it feels like the first application is fully inside the second one..i should be able to load and unload instances of the first form..is there any way i can do it ?
both shud not be dependent on each other..so if user wants he can load the first form without help of second..

please point me in the right direction..
project is in C# ..

Thank You !
Sep 6 '07 #1
Share this Question
Share on Google+
3 Replies


P: 7
okay i got the answer .. heres the thread that helped me ..
http://forums.microsoft.com/MSDN/Sho...98225&SiteID=1
Sep 7 '07 #2

Plater
Expert 5K+
P: 7,872
Well that's how to add forms into your project, but that's really basic and not the question you asked.

Or did you find an actual way to embed another program into your own. Because that post didn't show it.
Sep 7 '07 #3

P: 7
Well that's how to add forms into your project, but that's really basic and not the question you asked.

Or did you find an actual way to embed another program into your own. Because that post didn't show it.
yes thats true..its just adding a form..i am actually trying for a plugin system..where the plugin can be developed as a standalone application with a form and everything and when that application implements an interface which i wrote..then i can use that standalone application in my host program by loading it in a tabpage...
that thread is not about loading an application..but for now it worked for me as i was able to load the form which that plugin implemented ... but thats not what i intended..iam still looking for ways to truly load the whole application .. may be i can do it using application domains or something.. but i dont know anything about it .. if anyone happens to know how .. please share it here..
thank you
Sep 12 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.