VB: Instantiate class by name as string?

  • Thread starter Thread starter GKG
  • Start date Start date
G

GKG

Can i somehow instantiate classes only knowing their
names and that their constructors have no parameters?
 
GKG said:
Can i somehow instantiate classes only knowing their
names and that their constructors have no parameters?

Have a look at Activator.CreateInstance.
 
Back
Top