Use
Dim numberToConvert As Integer = Int32.Parse(sNumber)Thanks to the 4 Guys from Rolla from this - see a fuller answer at http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=163