You need to remove any empty string in the split function... Otherwise you'll get an exception when you try to parse an empty string.
So chnge this line
To this then you should be all setVB Code:
Dim Frame_temp() As String = Frame_order.Split(" "c)
VB Code:
Dim Frame_temp() As String = Frame_order.Split(" ".ToCharArray, StringSplitOptions.RemoveEmptyEntries)




Reply With Quote