How do you convert a text string to a named textbox control?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi... using VB/VS 2010 here
My application determines the name of a textbox control by substituting the middle part of the name which is a number. For example, the textbox name is defined as this concatenated string:
"part 1" & "number variable" & "part 2"
Of course, I will end up with a text string but need to know how to convert this string to the text box object itself in order to determine its properties.
Any help here is much appreciated as Ive tried numerous things but dont end up with the above object.
Thanks in advance.

View the full article
 
Back
Top