How to refer to an object name through a variable?
<p>I have some code that will open a sqllite database, get some street names, and populate a list box that is then attached to a combo-box so it can suggest the names as the user types them.  I want to make a procedure that I can call to do this since it will be used on may different combo-boxes.  I can pass it the name of the control, but how do I modify attributes of a contol while referring to it as a variable?</p>

<p>Something like:</p>

<pre><code>string A = "cbSTreets"
[A].text = "Sets the Text for the combo box."
</code></pre>

<p>If someone could just point me in the right direction I would appreciate it.</p>
