Thanks Denis. I’m happy with getting it working in a .NET form and your code is perfect, BUT I was trying to get this functionality of dynamically re-loading the custom dll, so that the DotNetObject could be placed inside of a standard 3dsMax “rollout” UI. The issue seems to be that we rely on the “DotNetControl” wrapper to allow integration into the 3dsMax UI.
I was wondering if there is anyway around this issue, so I can have the best of both worlds…A dynamically re-loading dll which provides my custom Treeview AND the standard functionality of a 3dsMax “rollout” for UI design?
Is this possible? or am I committed to using MaxForm if I need to avoid using DotNetControl, so that I can “re-load” my assembly?
Hope this makes sense!