codemink
New member
Consider the Statement:
and it is Giving me the following error:
Index and length must refer to a location within the string. Parameter name: length
What should I do.?
VB.NET:
Dim pstr As String
FileOpen(2, pfilepath, OpenMode.Input)
pstr = LineInput(2)
pstr = pstr.Substring(13, pstr.Length)
Label1.Text = pstr
FileClose(2)
and it is Giving me the following error:
Index and length must refer to a location within the string. Parameter name: length
What should I do.?