Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-23-2001, 08:00 PM
Storm Storm is offline
Senior Member
 
Join Date: Jan 2001
Posts: 837
Default textfiles

i have a really big problem reading a contest of a textfile because i need to search for special entrys in that file and put them into some editboxes in my form...

the example file:

Log 23.01.2001
-----------------------------------------------------------
Datum Zeit Bed Station Action
23.01.2000 13:11:00 MM 01 Automatic Logout by user
on Station 01 Username MM
23.01.2000 13:11:00 Apr 01 Automatic import from
User Apr

and so on

i need to search for Datum+Zeit+Bed+Station+Action
and display the values of them in some editboxes...
the problem is that the file can grow a really big size sometimes more then 45 MB if there a way don't work with for ex. edit1.text:=(Copy S,0,2) ans stuff like that???

thanx and regards
Reply With Quote
  #2  
Old 01-24-2001, 07:04 AM
MrBaseball34 MrBaseball34 is offline
Senior Member
 
Join Date: Jan 2001
Posts: 7,260
Default RE: textfiles

See this newsgroup post by Peter Below. {Note: Change the
type of bytesToread from Word to Integer. It was originally
written for D1}

http://x61.deja.com/threadmsg_ct.xp?AN=718964376.1&mhitnum=1&CONTEXT=980351806.1341653004
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 12:28 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.