
Read a MultiLine textbox line by line?
Because the text in the box does not necessarily have line-break characters
(ie, carriage return/linefeed combinations) at the end of each line, you
won't be able to determine where each line ends.
The problem would probably be eliminated if you used a listbox instead;
then you can grab each list item and parse it.
Alternatively, if you can force users to hit ctrl-enter to end a line, you
can determine where the line breaks by looking for ascii 13, (chr(13)),
which is the carriage return.
Hope this helps.
Steven Bras, MCSD
Microsoft Developer Support/Visual Basic WebData
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Microsoft Strategic Technology
Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.