Results 1 to 2 of 2

Thread: How to output data line by line in to textbox

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Talking How to output data line by line in to textbox

    Hi all. could any one tell me how to output to text box line by line. The current code putsa all the data after each other and it is unreadable.

    VB Code:
    1. For i = 0 To cm.Count - 1
    2.         'MsgBox cm(i) & vbCrLf & cm(i).SubMatches(0)
    3.         If i = cm.Count - 1 Then
    4.        
    5.             Text1.Text = Text1.Text & cm(i).SubMatches(0)
    6.         Else
    7.        
    8.             Text1.Text = Text1.Text & cm(i).SubMatches(0) & separator
    9.         End If
    10.     Next

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: How to output data line by line in to textbox

    Something like
    VB Code:
    1. Text1.Text = Text1.Text & cm(i).SubMatches(0) & vbNewLine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width