Constructing instance by name?

  • Thread starter Søren M. Olesen
  • 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top