This may be a duplicate :(

  • Thread starter Thread starter Nicholas Beenham
  • Start date Start date
N

Nicholas Beenham

Thanks for the help guys though now i have another related problem when
trying to AppendText to a multiline textbox.

An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred
in mscorlib.dll

Additional information: Index and length must refer to a location within the
string.

This is the error I get when trying to add text to a multiline textbox

Many many thanks

Any ideas on how to correct this
 
I'm guessing you are trying to add text from an array, and from a position
in that array that is "Out of Range".
Typically negative positions or position larger or equal to the length of
the array (highest position is length - 1).
 
Back
Top