You would have to change the 'Or' to 'And' there to ensure the number is both above 6 and below 7, rather than either.
If x >= 6 AND x <= 7 Then
hmmm this works not at me:
If lbl_hc.Text <= 6 Then
ImageView1.Bitmap = LoadBitmap(File.DirAssets, "en.png")
Else If lbl_hc.Text >= 6 AND <= 7 Then
ImageView1.Bitmap = LoadBitmap(File.DirAssets, "au.png")
Else If lbl_hc.Text >= 7 AND <= 9 Then
ImageView1.Bitmap = LoadBitmap(File.DirAssets, "la.png")
Else If lbl_hc.Text >= 9 AND <= 20 Then
ImageView1.Bitmap = LoadBitmap(File.DirAssets, "ot.png")
End If
gets me follow error:
Compiling code. Error
Error compiling program.
Error description: Missing parameter.
Occurred on line: 630
Else If lbl_hc.Text >= 6 AND <= 7 Then
Word: and