VB.Net MultiLine Text Boxes
Posted on 2016-08-26
Here is my problem, i have a multi line Text Box and a List Box on my form.
The user can copy and paste a List of numbers in the multi line text Box.
When he clicks on Process i want to read line for line from text box and then
do some validation and if successful move the item to list box and remove from
I have my code who does the validation and putting int into the list box,, but having
issues with the removing from text box.
I tried to load the lines into a string list and then remove from string but problem
is that if i remove the item the list no longer has the same count as when i start and
the system will complain index out of range
Any ideas how to solve this cleanly ?