dim x = "1" x 'just type x and wait the intellisense to showup it will tell you that x is declared as string
Thats funny because everything I said works fine here but your code apparently is not... Your choice, you can be lazy and save typing two whole words and spend hours asking for help because of it or you can learn to program correctly. Not turning on "Option Strict" & "Option Explicit" is more laziness in an attempt to have the program overlook errors.
01) Turn on Option Strict & Explicit
02) Explicitly declare your variable datatypes
03) Use prefixes in your controls & variable names
so that you know at a glance what datatype
there supposed to be.
04) If your having trouble with a "Select Case" statement
try looking in the help file at "Select Case"
Dim strMySearchValue As String = "1r"
Select Case strMySearchValue
Case "1r", "2r"
MessageBox.Show("Case 1r or 2r")
Case "3r", "44"
MessageBox.Show("Case 3r or 4r")
Case Else
MessageBox.Show("strA is something else")
End Select