Question: i have the name of a control in a string and I want to manipulate the control, how do i turn the string into the current form instance of that control in c#?

e.g.

```
string controlName = "Button1";

```

What goes here? 

```
button1.text = "Changed";

```

Thanks

Answer: 
```
Button button1 = (Button)this.Controls[controlName];

```
Inside the form, you could write (c#)

```
this.Controls["Button1"].Text = "Changed";

```

I suppose, this could be the syntax in vb.net

```
Me.Controls("Button1").Text = "Changed"

```

EDIT: I don't know, if that would compile. @Binary Worrier is right

```
Button btn1 = this.Controls["Button1"] as Button;
btn1.Text = "Changed";

```