Hi

You are trying to compare a numeric with a string and then put a numeric into a string. Use

VB Code:
  1. Do Until (CInt(lblDiv1.Text) * 2) > CInt(lblDiv2.Text)
  2.             lblDiv1.Text = Math.Round(RandomNo.Next(1, 24) * 2).ToString
  3.             lblDiv2.Text = Math.Round(RandomNo.Next(1, 24) * 2).ToString
  4.         Loop