this is my vb6.0
combo1 combo2
and a two listbox
the 1st listbox had a text.
then the secong one If I run the project I will type the text that has written in the 1st listbox.
In my combo 2 it has two choices. 1minute and 2minute.
if i will click the 1 minute, then it will stop . then when you click the 2minute. it has debug.
can u help on my problem?
[code=vb]
Private Sub Combo1_Change()
List2.Clear
If Combo1.ListInde x = 0 Then
List2.AddItem "Present and surrender the coupon at mercury drug stores and avail of discount of partcipating products."
Else
List2.AddItem "aicel"
End If
List2.AddItem "maricel"
End Sub
Private Sub Combo1_Click()
List2.Clear
If Combo1.ListInde x = 0 Then
List2.AddItem "Present and surrender the coupon at mercury drug stores and avail of discount of partcipating products."
Else
List2.AddItem "aicel"
End If
List2.AddItem "maricel"
End Sub
Private Sub Combo2_Change()
If Combo2.ListInde x = 0 Then
Timer1.Interval = 60000
Else
Timer1.Interval = 120000
End If
End Sub
Private Sub Combo2_Click()
If Combo2.ListInde x = 0 Then
Timer1.Interval = 60000
Else
Timer1.Interval = 120000
End If
End Sub
Private Sub Timer1_Timer()
Form2.Show
End Sub[/code]
combo1 combo2
and a two listbox
the 1st listbox had a text.
then the secong one If I run the project I will type the text that has written in the 1st listbox.
In my combo 2 it has two choices. 1minute and 2minute.
if i will click the 1 minute, then it will stop . then when you click the 2minute. it has debug.
can u help on my problem?
[code=vb]
Private Sub Combo1_Change()
List2.Clear
If Combo1.ListInde x = 0 Then
List2.AddItem "Present and surrender the coupon at mercury drug stores and avail of discount of partcipating products."
Else
List2.AddItem "aicel"
End If
List2.AddItem "maricel"
End Sub
Private Sub Combo1_Click()
List2.Clear
If Combo1.ListInde x = 0 Then
List2.AddItem "Present and surrender the coupon at mercury drug stores and avail of discount of partcipating products."
Else
List2.AddItem "aicel"
End If
List2.AddItem "maricel"
End Sub
Private Sub Combo2_Change()
If Combo2.ListInde x = 0 Then
Timer1.Interval = 60000
Else
Timer1.Interval = 120000
End If
End Sub
Private Sub Combo2_Click()
If Combo2.ListInde x = 0 Then
Timer1.Interval = 60000
Else
Timer1.Interval = 120000
End If
End Sub
Private Sub Timer1_Timer()
Form2.Show
End Sub[/code]
Comment