Access Single Line in Text File



Hello Everybody,

is it possible to change a single line in a text file?

Open "File" For Append only lets you insert at the end
Open "File" For Binary has the problem that you never know how long a line
actually is. Therefore the is no command like Line Input

Unfortunately, now my wisdom ends...

Thanks for reading

Ole Weigelt


.



Relevant Pages

  • Re: Access Single Line in Text File
    ... Ole Weigelt wrote: ... > Open "File" For Append only lets you insert at the end ... way...if the file is relatively small it can be read to memory and ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)
  • Re: Apache, PHP, FOPEN Permissions problem
    ... I can open the file using FOPEN for reading, but not write or append. ... Permissions are 777 and is located ... Prev by Date: ...
    (php.general)
  • Re: Opening large files for small amounts of data
    ... If the file is opened for Append, however, the only way to move ... to the last couple of lines for reading is to read each line starting from ... It acquires a handle to the file from the operating system. ... or re-writing an entire file at the destination (re-writing from ...
    (microsoft.public.vb.general.discussion)
  • Re: Fastest Way to Append Chars to Text File Rows in VB6.0
    ... you might consider reading them also in ... >>> cycle through all these files and append some additional chars at the ...
    (microsoft.public.vb.general.discussion)
  • Re: iterating over a list and printing
    ... Bart Nessux wrote: ... You are reading the entire file in one big string and append it to the list ...
    (comp.lang.python)