How To: Load Assemblies in an Application Domain
Creating a new application domain and launching an assembly within that domain is as simple as creating an instance of the System.AppDomain class with a friendly name, and then calling the ExecuteAssembly method, as the following code demonstrates:
' VB
Dim d As AppDomain = AppDomain.CreateDomain("NewDomain")
d.ExecuteAssembly("Assembly.exe")
Excerpt from MSDN:
There are several ways to load an assembly into an application domain. The recommended way is to use the static (Shared in Visual Basic) Load method of the System.Reflection.Assembly class. Other ways assemblies can be loaded include:
Last Updated:Thursday, September 02, 2010By:alferoSource#
with your OpenID.
If you do not know what OpenID is,