VB Code:
  1. Private Sub Form_Load()
  2.  Randomize Timer
  3.  lblrandom.Caption = Int(Rnd * 3)
  4.  lbltemp.Caption = Combo1.List(lblrandom.Caption)
  5. End Sub

I have this code and I have loaded into combo1 a textfile.But this doesn't get anything into lbltemp.caption.Any ideas?I know it has 4 entries so I put 3.Can I generalize it by multiptying by como1.listcount or something?

Thanks in advance