Thanks Armin. I hope I can understand it (reflection) since I'm new to
..net. I hope MS has a webcast to explain it.
"Armin Zingler" wrote:
> "Peter" <(E-Mail Removed)> schrieb
> > Normally, to create an object instance based on a specific class, we
> > can do this.
> >
> > Dim someObj As Object
> > someObj = New Class
> >
> > However,I want to create an object instance based on a variable or
> > something. For example, I have 3 classes: Class1, Class2, Class3.
> > The variable dynamicClass can be equal to any of the 3 classes
> >
> > Dim someObj As Object
> > someObj = New dynamicClass
>
>
> http://msdn2.microsoft.com/en-us/library/cxz4wk15.aspx
>
> In particular:
> http://msdn2.microsoft.com/en-us/library/k3a58006.aspx
> (search for "CreateInstance")
>
>
> Armin
>