Loading Assembly

quwiltw

Well-known member
Joined
Sep 18, 2001
Messages
486
Location
Washington, D.C.
What string is expected in the Load method of Assembly? Ive tried the namespace.projectname, projectname, projectname.namespace, it still doesnt find it. Ive got the project for this assembly in the same solution that Im trying to use it, just as a separate project. Thanks for any help.


Code:
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 didnt even investigate alternatives. Im was just trying to get it working, now I need to go back and make sure I fully understand what its doing and the relationship between loading an assembly and creating an instance from it, as Im not real sure why I need to load it if I can simply create an instance straight from the assembly. Thanks again
 
Back
Top