convert string to object reference?
Posted on 2003-12-06
I’m working in VB .NET in a windows form
I have a string that I have concatenated from 2 other values, this string now contains a reference to a label, how do I now use string to change the properties of the object it references, i.e. I wanna change the text so I would type strMyStrings.text = “whatever”, but this generates an error as the string doesn’t have a text value obviously, seems that I need to change the string into an object reference or something, but how!?!?!?!