VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Line by Line Text Cycle

rbennett  (3 Submissions)   String Manipulation   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This code will cycle through a text box or rich text box line by line, select the line and place it into a string array. The array will then be passed to another method where it will be placed into a list box excluding the blank lines.
I've seen other code like this but if there is no ending vbCrLf then the last line of the box is not read, I've fixed this and showed how to extract the line information and how to use it.
The code is slowed down using a pause routine that I made about a year ago.

Assumes
Assumption is that this code is for beginners to experts

Rate Line by Line Text Cycle (4(4 Vote))
Line by Line Text Cycle.bas

Line by Line Text Cycle Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters