Hi,

I have been dynamically loading assemblies using this:

// paramType is "NamesSpace.TypeName, AssemblyName"
myType = Type.GetType(paramType);
myObj = Activator.CreateInstance(myType);

This works with my assembly being in the same bin path as my app. Now if there is a possibility that the assemblies can be loading from a different path, is there a way i can just change the paramType and load it from a different path without code changes.

If i need to make code changes to do like an Assembly.Load instead, can it support both versions with same code - local load and path load of assembly?

Thanks
Jubin