Does anyone know how to create an object of a dynamic class? For example: The user selects a project from a list of projects. Each project has its own class and object of the format <projectid>.<projectid>_obj. When I change the drop down of the project I want the study to reinstantiate an object called my study as a type of that class object. So if the study was ABC123 it would be:
Dim myStudy As New ABC123.ABC123_obj
If I changed the drop down to XYZ123 it would reload the object as:
myStudy = New XYZ123.XYZ123_obj
Does anyone know if this is possible? The idea is to avoid creating multiple instances of the same application which only differ in this one line.
Dim myStudy As New ABC123.ABC123_obj
If I changed the drop down to XYZ123 it would reload the object as:
myStudy = New XYZ123.XYZ123_obj
Does anyone know if this is possible? The idea is to avoid creating multiple instances of the same application which only differ in this one line.