title: Is there a variable type which can refer to a control (type may differ) in vb6?
body: <p>I have two controls which both serve the same function with different data sources (Access vs SQL) in a legacy vb6 application. I am trying to create a variable which refers to the control which is applicable to that data source (In this case, an ssOleDBCombo vs an SSDBCombo). Is this possible in vb6, or will I just need to do something along the lines of the following:</p>
  
  <pre><code>IF SQL Then
      ssOLEDBCombo
  Else
      ssdbcombo
  End if
  </code></pre>