Text Files

Results 1 to 2 of 2

Thread: Text Files

  1. #1
    Join Date
    Dec 1969

    Default Text Files

    I am using a Text File to maintain a Username Password.<BR>With the TextStream Object it appears you can only Read and<BR>Write to this using this i.e. you cannot delete a line of modify a line in the text file?<BR><BR>Any way around this?<BR>I realise Databases are mucg easier but I need to use text files.<BR><BR>Mc1

  2. #2
    Join Date
    Dec 1969

    Default You need...

    ...to read in the text file line by line, and modify them, then write the results back.<BR><BR>Or, you could try and use the ODBC driver for text files, in which case you may be able to actually use text files as databases. It won&#039;t be as fast, but it&#039;ll be OK if the situation is small. It&#039;ll also be faster than anything you can hash together using VBScript, I&#039;ll bet.<BR><BR>There are a couple of articles on 4guysfromrolla.com about doing that.<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts