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?
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?