Text Search

Posted On 2017-08-19 by BlackBeltVB
Keywords:
Tags: VB6 System Services VB6 Miscellaneous VB6 String Handling 
Views: 68

Download Attachment


How to search across directories for a file containing specific text.

Uses a recursive technique to search sub-directories (similiar to the Windows Find utility). Also shows how to properly cancel a long routine. The recursive procedure is similiar to the DirView sample but uses slower VB directory changing and searching methods rather than API functions.

Requirements

This code originally appeared on BlackBeltVB.com, and has been republished here with the permission of Matt Hart.


About the Author

BlackBeltVB has posted a total of 89 articles.


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.163.39.19

Before you can post, you need to prove you are human. If you log in, this test goes away.




Code Links