Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Read File

Posted on 2004-03-31
1
Medium Priority
?
254 Views
Last Modified: 2010-04-05
Hello

I want to read all the lines in
a text file

C:\atextfile.txt

and view all the lines in a memo1

thanks
0
Comment
Question by:Dinkleburger
1 Comment
 
LVL 27

Accepted Solution

by:
kretzschmar earned 200 total points
ID: 10722390
memo1.lines.loadfromfile('C:\atextfile.txt');

meikl ;-)

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

972 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