Remove Text for a text file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi I am writing to a text file to hold information and after I use the info I
need to remove it ready for the next time, I was wonding if this was
possible?.
TIA
Charles
 
If you are using the VB file i/o functions there is no "delete this line"
command. Rather you have to re-output the entire file without the text you
want removed.

Alternatively you could make a copy of the original file (FileCopy VB
statement) and later copy it over the modified file.

--
Jim
| Hi I am writing to a text file to hold information and after I use the
info I
| need to remove it ready for the next time, I was wonding if this was
| possible?.
| TIA
| Charles
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top