Constructing instance by name?

  • Thread starter Thread starter Søren M. Olesen
  • Start date Start date
S

Søren M. Olesen

Hi

Is it possible (in VB) to create an instance of a class based on its name??

What I want is something like:

Public Class myBaseClass
End Class

Public Class myClass
Inherits myBaseClass
End Class


Dim myTest as myBaseClass= newInstanseOf("myClass")

or something similar....


TIA

Søren
 
Back
Top