Description: VB developers will face the problem of document location. VB provided by Dir [(pathname [, attributes])] function should be able to satisfy the positioning of various documents. Dir function to use, we must give it the full path to provide a document, otherwise it is not found. And sometimes we often do not know the path to the file, and if want to use this function to locate a document, our code must be prepared. I use the function in the preparation of the document search function, something a lot of work, but found that search efficiency is not high, less than ideal results. Well, there is no code and a faster way less search documents? I was using an API function successfully developed a highly efficient file search function.
File list (Check if you may need any files):
查找文件.txt