Atheist, thanks for your reply.
Unfortunately i don't fully understand what you are talking about![]()
I understand that at the moment i only return a name, but based on this name i want to create a new object from the type of the appropriate user control. So if the name is ucDatabase the code for generating my user control should be something like:
But i am unsure how to solve my problem when i don't know the type of object if have to create (Dim myNewControl As ......) becaused it's based on the name of the NodeName.Code:Dim myNewControl As ucDatabase Me.pcRight.Controls.Add(myNewControl)
I added my project for better understanding. Maybe you or someone else can help me out.
Thanks for any advice
voidpixels




Reply With Quote