For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > December 2005 > Search within files in a directory (VB6)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Search within files in a directory (VB6)
AmytDev

2005-12-16, 6:56 pm

HI. I have a directory of files that I would like to search through for a
specific line. I would then like to write that line and the filename to a
text file. I just don't know how to do this. I'm still learning how to use VB
6.0 and would appreciate any help that you could give.

Thanks.
Amyt
Veign

2005-12-16, 6:56 pm

What part are you having the issues with?

Search for files:
http://vbnet.mvps.org/index.html?co...al_multiple.htm

Looking inside of files:
http://www.veign.com/vrc_codeview.asp?type=app&id=72

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--


"AmytDev" <AmytDev@discussions.microsoft.com> wrote in message
news:F8049AE1-C72A-4695-BFB5-0D8C3C5201F1@microsoft.com...
> HI. I have a directory of files that I would like to search through for a
> specific line. I would then like to write that line and the filename to a
> text file. I just don't know how to do this. I'm still learning how to use
> VB
> 6.0 and would appreciate any help that you could give.
>
> Thanks.
> Amyt



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com