May 2010
Intermediate to advanced
1272 pages
61h 18m
English
You have basically two ways for executing assemblies inside application domains: getting the instance of the default application domain for the running assembly (that is, your application) and creating a new application domain. The System.AppDomain class provides a shared property named CurrentDomain, of type System.AppDomain, which represents the instance of the current application domain. You get the instance and then execute the assembly as follows:
Dim currentDomain As AppDomain = AppDomain.CurrentDomain currentDomain.ExecuteAssembly("AnotherApp.exe")
The AppDomain class exposes an instance ExecuteAssembly method that enables executing the specified assembly within an application domain. ...
Read now
Unlock full access