Load Assemblies into an Application Domain
Imports System Imports System.Reflection Public Class Asmload0 Public Shared Sub Main() Dim a As Assembly = Assembly.Load("example") Dim myType As Type = a.GetType("Example") Dim myMethod As MethodInfo = myType.GetMethod("MethodA") Dim obj As Object = Activator.CreateInstance(myType) myMethod.Invoke(obj, Nothing) End Sub End Class