Solved

Loading a multiline textbox

Posted on 2000-04-19
2
171 Views
Last Modified: 2010-05-02
I am trying to load a multiline text box, i am loading 1 line of text at a time, and i want to specifie a carriage return after each line.  Thus printing each line on seperate lines.  The lines of text are comming in from an external source.

So i need somthing like this at the end.

Hello my name is Chris (1st line)
I am a useless VB programmer (2nd line)

and so on....

Help please!
0
Comment
Question by:CRICE
2 Comments
 
LVL 18

Accepted Solution

by:
deighton earned 100 total points
ID: 2730177
USE VBCRLF


dim  strl1,strl2


text 1 = strL1 & vbcrlf & strL2
0
 

Author Comment

by:CRICE
ID: 2730195
Well, there you go, irritating that the answer to that question was so simple.
I have been reading a VB reference book, and there is nothing to tell you how to do simple things like that.  It tells me how to split lines of text and number them in a text box.....

Well thanks very much for your time.

Cheers

Chris
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now