I think you cannot do that conversion at runtime in vb6, but you can create new controls and delete controls, so you could remove the textbox and create a combo at the same position.
You can create a new control this way (a TextBox called ‘Text2’ in this case):
<pre>Dim ctlName As Control
Set ctlName = Form1.Controls.Add(“VB.TextBox”, “Text2”, Form1)
ctlName.Visible = True
ctlName.Top = Text1.Top
and you can remove it like this:
Hope this helps.