R RonR Well-known member Joined Nov 23, 2007 Messages 82 Programming Experience 5-10 Nov 23, 2007 #1 how can I read one line at a time from a textbox and send it to the printer?? note: it is a multiline textbox
how can I read one line at a time from a textbox and send it to the printer?? note: it is a multiline textbox
F Fremus Active member Joined Jun 9, 2007 Messages 42 Programming Experience Beginner Nov 24, 2007 #2 reading the multiline textbox line by line: VB.NET: Dim s As String For Each s In TextBox1.Lines 'do something with each line MessageBox.Show(s) Next HTH Upvote 0 Downvote
reading the multiline textbox line by line: VB.NET: Dim s As String For Each s In TextBox1.Lines 'do something with each line MessageBox.Show(s) Next HTH
R RonR Well-known member Joined Nov 23, 2007 Messages 82 Programming Experience 5-10 Nov 24, 2007 #3 Thanks for the code. Upvote 0 Downvote