how to host applications in c# forms

  • Thread starter Thread starter khaled
  • Start date Start date
K

khaled

hi,

i am new in c# programming and i am trying to host two applications in
the same c# form. my two applications are "VLC"(video lan) and notepad.
can someone help to do that?
thanks.
 
Hi khaled

I am not sure what you mean with 'hosting two applications in a C#
form', but if you want to start to other apps from you C# app, then you
can do the following:

using System.Diagnostics;
.....
Process.Start("notepad.exe");

If you want to enrich the functionality of your C# app by the
functionality of notepad and vlc and to integrate these two programms
in a way that the user doesn't feel to work with notepad or vlc rather
than with your app you would need a COM Server.
That means you would have to add a reference to a special .dll file
which provides a COM interface to use the functionality of notepad and
vlc.
Als far as I know is notepad not providing any COM server and vlc do I
not know.

But you can also try to find a third party control for .NET which
provides the functionality you need.

Hope this helps
Roland
 
Back
Top