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

Run a .net exe inside a windows form

P: n/a
I need to run a .net application (.net winapp with multiple forms) inside a
main C# windows application - form which should be the container of the above
application
Jul 1 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Shiva,

If the application does not expose it's main form from it's EXE, and the
constructor of the form is not where the real work happens, then you really
have to run the program and try setting the parent of the window to your
app. It's not clean, and you are going to have some problems with it, I
believe.

If you have knowledge of the app and can reference the EXE/DLLs, then
you can just create the instances of the forms you need and then parent them
to your MDI container.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Shiva Ramani" <Sh*********@discussions.microsoft.comwrote in message
news:86**********************************@microsof t.com...
>I need to run a .net application (.net winapp with multiple forms) inside a
main C# windows application - form which should be the container of the
above
application

Jul 1 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.