Going backwards to vb6 with combobox
--------------------------------------------------------------------------------
My simple program worked fine in Vb.net 2005. Specifically, selecting from a dropdown combobox causes the associated subroutine to execute simple commands.... like change variable values, etc. This is really simple stuff.
But my project needed a dll from outside that was only compatible with vb6 and would not migrate. So, I unloaded vb2005 from my PC and installed vb6.
o.k. now my very simple program loads fine and debugs gine, but upon user selection in the drop-down combobox.... nothing happens. Apparently, the subroutine is not called.... selection from the drop down doesent cause anything to happen.
Here is some of my code. The name of the comboxbox is "Combo2".
CODE
Private Sub Combo2_Change()
MsgBox ("hi again")
Select Case Combo2.Index
Case 0
Timer1.Interval = 1000
Case 1
Timer1.Interval = 2000
Case 2
Timer1.Interval = 5000
Case 3
Timer1.Interval = 10000
End Select
MsgBox (Combo2.Index)
TimerInterval = Timer1.Interval / 1000
Option1.Text = Timer1.Interval & TimerInterval
MsgBox = Timer1.Interval
End Sub
Help...help... HELP !!