Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Read string from Text File (https://www.delphipraxis.net/119088-read-string-text-file.html)

mohfa 20. Aug 2008 23:22


Read string from Text File
 
I have a Folder that Contains 2 Files
C:\file.fd
C:\fil.fd

the file.fd contains : bla,blabla
the fil.fd contains : bl,bla

what i want is to search the C:\ for all *.fd files then from all these files i want to add the values (bla,blabla ,bl,bla )to a ListView Like this way:

bla blabla { from the file.fd }
bl bla {from fil.fd }


thank you all

mkinzler 21. Aug 2008 05:36

Re: Read string from Text File
 
Look for FindFirst/FindNext


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:01 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz