Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TEXT FILE READING

Status
Not open for further replies.

nirs

IS-IT--Management
Apr 4, 2003
37
IL
hi
what is the fastest way of looking for a value in a text file, other then read each line?

thank's
 
Wow - 25 questions you have asked on these forums, and not a single answer that you found to be useful!

Suggest you read faq222-2244. If all the answers you have received are no good, then you need to find out how to ask better questions. If the answers were good, you need to find out how to acknowledge the answers properly.

For this question, load the whole file at once and then search in memory. A quick look at the FAQs will help, then look in VBHelp for the Stream Object for one possible solution

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top