As JDeats correctly stated, you could use reflection to add and control the
main form of the other application within your application. That is
different from adding the application to your form.
The biggest difference I could see is that if your container launched a
modal dialog, this child form would be inaccessable, wherein as a separate
executable, it would be independant and accessable. Also, if your child
form lauched a modal dialog, your container app would be inaccessable.
Since you said others in your organization are doing what you desire, then
you should ask the manner that they achieved it. I'm sure the community
here would like to understand how it is done.
"Shiva Ramani" <Sh*********@discussions.microsoft.comwrote in message
news:00**********************************@microsof t.com...
>I agree launching web app is possible with webbrowser control. Few
applications inside our organization are using this kind of architecture
in
VB forms. Parent VB forms hold multiple different systems inside its child
form.
I want to know if this is possible with .NET. if iam making use of
reflection is it possible to control the child app inside the parent
(container) app's domain.
"Family Tree Mike" wrote:
>I don't believe this is possible. It is possible of course to launch a
separate process from your form, and to add a webbrowser control
navigated
to your site within your form.
Have you ever seen any programs which contain a separate executable
running
from within that apps main window?
"Shiva Ramani" <Sh*********@discussions.microsoft.comwrote in message
news:60**********************************@microso ft.com...
>I have a windows application with multiple forms & another web
application.
Now I need a parent EXE or Application which need to act as a container
to
these application.
Example :
My existing Web application : http://localhost/MyApp/Default.aspx
My existing Win Application : existingWinApp.exe
New Parent WinApp : NewWinApp.exe
My new winapp will have a menu & below which I will have a form holder.
Based on my menu selection (Winapp or webapp) respective app should
load
inside the form holder.
More like running different app domains inside one app domain. Correct
me
if
iam wrong