sunarto.gouw
Member
- Joined
- May 22, 2013
- Messages
- 12
- Programming Experience
- Beginner
hello, can someone help me in this error:
when i input letter, it says "Invalid cast exception was unhandled. Conversion from string "asdf" to type 'Integer' is not valid."
please help
Dim input As String = txtpassword.Text Dim w = Array.CreateInstance(GetType(Integer), New Integer() {133}, New Integer() {-8}) Dim a As Double = -8 Dim b As Integer = 0 Dim c As Integer = 4 Do While a <= 0 w(a) = (input.Substring(b, c)) MsgBox(w(a)) a += 1 b += 4 c += 4 Loop
when i input letter, it says "Invalid cast exception was unhandled. Conversion from string "asdf" to type 'Integer' is not valid."
please help
Last edited by a moderator: