Loading Assembly

quwiltw

Contributor
Joined
Sep 18, 2001
Messages
486
Location
Washington, D.C.
What string is expected in the Load method of Assembly? I've tried the namespace.projectname, projectname, projectname.namespace, it still doesn't find it. I've got the project for this assembly in the same solution that I'm trying to use it, just as a separate project. Thanks for any help.


Visual Basic:
Dim assm As [Assembly]
assm = System.Reflection.Assembly.Load("Plugins.SamplePlugin")
 
Thanks Thinker, I guess I got so focused on trying to make the Load method work that I didn't even investigate alternatives. I'm was just trying to get it working, now I need to go back and make sure I fully understand what it's doing and the relationship between loading an assembly and creating an instance from it, as I'm not real sure why I need to load it if I can simply create an instance straight from the assembly. Thanks again
 
Back
Top