Hi,
How would I handle Dereferencing in vb.Net 2003.
Something like:
Dim txt As TextBox = DirectCast("txt " & someStringVaria ble, TextBox)
This sadly won't work because a type of string cannot be casted to a textbox.
The "txt" + someStringVaria ble concatenation would represent a valid name of a textbox on the form.
Thanks for any ideas,
Michael
How would I handle Dereferencing in vb.Net 2003.
Something like:
Dim txt As TextBox = DirectCast("txt " & someStringVaria ble, TextBox)
This sadly won't work because a type of string cannot be casted to a textbox.
The "txt" + someStringVaria ble concatenation would represent a valid name of a textbox on the form.
Thanks for any ideas,
Michael
Comment