[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VB6 Is there a way to process a richtextbox line by line?

Posted on 2009-04-29
1
Medium Priority
?
353 Views
Last Modified: 2013-12-26
Is there a VB6 property, function, api call or anything else to retrieve text from a richtextbox one line at a time?
0
Comment
Question by:SteveQ2
1 Comment
 
LVL 26

Accepted Solution

by:
EDDYKT earned 2000 total points
ID: 24270189
Dim arr
arr = Split(rtfText.Text, vbCrLf)
Dim i As Long
For i = 1 To UBound(arr) + 1
        Debug.Print arr(i-1)
    Next
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month20 days, 5 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question