Drat - forgot to indluce the sample code I promised found at
http://samples.gotdotnet.com/quickstart/howto/ (click on reflection on the
left):
// don't forget your using statements
using System;
using System.Reflection;
// ...
// Getting an Assembly, method 1. Get the mscorlib assembly
// Note that other types such as String, or Int32 would have worked just as
well,
// since they reside in the same assembly
Assembly a = typeof(Object).Module.Assembly;
// Getting an Assembly, method 2. Load a particular assembly, using a
reference to a
// module that is within that assembly. Note that this requires a compiled
module for
// the reference, and when running in an aspx page, will require a fully
qualifed path
// to the file, to ensure it is correctly identified
Assembly b = Assembly.LoadFrom ("GetTypes.exe");
// note that either of the above methods is viable, depending on the
information
// you have. Since we know the name of the file which houses all of the base
system
// objects, we could do the following to replace the first example, just as
effectively
// (the absolute path may change on your machine)
// Assembly a = Assembly.LoadFrom
// ("c:/winserv/microsoft.net/framework/v1.0.2230/mscorlib.dll");