By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,600 Members | 1,683 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,600 IT Pros & Developers. It's quick & easy.

Search a .txt file with a .asp file

P: n/a
I would like to search a text file on my server and then alert me on
if the current date exist in that file. Any one have any code that
searches text files.

thanks in advance
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
You can use FSO to open the file and then just use InStr() to determine if
your value is in the file.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Josh" <mu**************@yahoo.com> wrote in message
news:5b**************************@posting.google.c om...
I would like to search a text file on my server and then alert me on
if the current date exist in that file. Any one have any code that
searches text files.

thanks in advance

Jul 19 '05 #2

P: n/a
On 3 Sep 2004 06:48:19 -0700, mu**************@yahoo.com (Josh) wrote:
I would like to search a text file on my server and then alert me on
if the current date exist in that file. Any one have any code that
searches text files.


What would the current data be? You can use FSO and open, then read a
text file, and parse through it. If you knew what you were looking
for, an INSTR would probably find it as well.

Jeff
Jul 19 '05 #3

P: n/a


I am trying to search for

the current date, to see if it gets posted to this file.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.