I find myself often needing to use Integer.TryParse to test if a value is an integer. However, when you use TryParse, you have to pass a reference variable to the function,
Since you are using VB.net you can use the IsNumeric Function
If IsNumeric(myInt) Then 'Do Suff here End If