invoking a class without having a reference

sandman

New member
Joined
Mar 17, 2009
Messages
1
Programming Experience
5-10
Hi
I'm converting a VB6 app to vb.net.
The code creates objects using the CallbyName function with the classes name & and method being read from a database.

I want to rewrite the classes in vb.net and have the same behaviour as I read in the name of an object from the database, instantiate it, and call one of it's methods.
I don't know ahead of time what the names of the classes will be, so I can't make a reference to them in my project.

How do I get the equivalent "callbyname" functionality in vb.net?
 
Back
Top