I have a usercontrol with a webbrowser control on it compiled out to it's own assembly. This control worked in my project prior to breaking it out to its own assembly.
Now the goal of doing this is to late bind to the assembly, instantiate the control, and add it to my tab control on my form.
When I step through this code it seems to create the object however when I try to set some html to the webbrowser control on the usercontrol it nullrefs.Code:Dim objAssembly As Reflection.Assembly objAssembly = Reflection.Assembly.LoadFrom(My.Application.Info.DirectoryPath + "\ppbb.dll") Me._SelectionDetail1 = objAssembly.CreateInstance("ppbb.SelectionDetail")
Do I need to call an initializer on the usercontrol? Can I late bind a user control at all?
Thanks for any help, Tim


Reply With Quote
