S
Stephen Travis
Since there is no eval function in VB, is there a way to make a classname a variable? For example;
Dim MyClassInstance1 As New MyClass
Dim somestring as System.String = "MyClassInstance1"
"somestring".someproperty = "somevalue"
....which would set MyClassInstance1.someproperty to "somevalue"
Dim MyClassInstance1 As New MyClass
Dim somestring as System.String = "MyClassInstance1"
"somestring".someproperty = "somevalue"
....which would set MyClassInstance1.someproperty to "somevalue"