Change Control Object properties using a string variable set with the controls name

Glenn Currie 1 Reputation point
2020-07-01T16:10:52.693+00:00

I have a string variable, it contains the name of a control object within my form. I would like to change the control objects properties using the name contained within my string variable.
Back in the old days this was known as indirect accessing.
Can this be accomplished using Visual Basic 2015?

Community Center Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2020-07-02T03:52:39.79+00:00

    Visual Basic is not currently supported here on QnA. They're actively answering questions in dedicated forums here.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.