Results 1 to 3 of 3

Thread: Read text files?Pls Help

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2003
    Location
    singapore
    Posts
    86

    Unhappy Read text files?Pls Help

    How to read a text file in VB. I'm going to access many text files in my VBA program but want to do it neatly. For eg.in my codes, if I have a string named "_APP_PATH" my program shoud access a txt file called "config.txt" and read line by line for the word "_APP_PATH". If it finds it, that means the line below that word is the directory path eg. "C:\windows\desktop\create"...so this string(the path) should be assigned to "_APP_PATH" in my codes...How to doit? Any better way.Attached is how the text file should look like.PLs..I need a solution for it.Pls helpThanks alot.
    Attached Files Attached Files

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