how do i make a string variable into an integer variable.
something like:
number = String
i've always only converted it from a textbox now i'm having trouble using variables.. not sure why it's different..
monthtxt = Mid(CardLength, 1, countnum)
yeartxt = Mid(CardLength, i + 1, Yearstart)
isvalid = Integer.TryParse(monthtxt.text, numberstyles.currency, _
numberformatinfo.CurrentInfo, Month)
basically i want monthtxt to become the integer form in Month.
i think this would be the only important part..