Results 1 to 3 of 3

Thread: lock text file?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    Hi,

    Is it possible to lock a text file so that the user cannot open it while it's locked by my application? And I don't just mean not be able to delete.. What I means is that while my application is running, I don't want the text file to be able to be read..

    Any help or example would be appreciated..

    Dan

  2. #2
    Guest
    Does this help you?

    Code:
    Open "Textfile.txt" For Whatever Lock Read Write As #1

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    COOL!!! Thanks a bunch..

    Dan

Posting Permissions

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



Click Here to Expand Forum to Full Width