I have created a "type" object in VB5. Is it possible to refer to an item in the object with a variable? For Example:
Item1 as string
Dim SomeVariable as String
SomeVariable = "Item1"
MyType.SomeVariable = "yadayadayada"
MyType.Item1 should now equal "yadayadayada"
Obviously, it doesn't work just like that--is there some other way to do this?