AltFileSearch is a drop in replacement for the Office FileSearch object that was removed in Office 2007.
When Microsoft shipped Office 2007, they removed the Application.FileSearch function. This was a pity for those of us who were using it.
The FileSearch object could be used by any of the main Office applications to simplify all manner of file operations.
AltFileSearch is a VBA class module you can simply import into your VBA project to replace the retired FileSearch object. When you click buy now, you'll be taken to a download link where you can download a .zip containing the .cls file. Once you've copied it into your project you simply need to replace any occurrence of "Application.FileSearch" in your project with "New AltFileSearch". For example, if your code read:
Dim x as Application.FileSearch
x.NewSearch
x.LookIn = "c:\"
x.Execute
Set myresults = x.FoundFiles
... then you just need to change it to:
Dim x as New AltFileSearch
x.NewSearch
x.LookIn = "c:\"
x.Execute
Set myresults = x.FoundFiles
... and hey presto, you're back in action. Because it's just a VBA class module, you just need to redistribute your app and the problem's fixed. No need to install ActiveX controls anywhere.
Some properties and methods (such as .MatchAllWordForms; PropertyTests and some of the other rather strange ones) aren't supported by AltFileSearch. Click here to view a detailed list of supported and unsupported methods. It goes without saying that you can have a refund if our module doesn't meet your needs - we're also quite happy to look into extending it if we haven't supported methods that you need.

If you were using the FileSearch object in Office 2003 or earlier, AltFileSearch will help you migrate to Office 2007. You could re-write your FileSearch code by hand to use Dir etc. Or you could import AltFileSearch with a couple of clicks and change broken FileSearch objects to be AltFileSearch objects and be done in minutes.
To buy AltFileSearch go here.
Further documentation is here.
Developer documentation is here.
License info (including details of the right to redistribute) is here.
In summary here is an Object Browser screen shot:
The zip file also contains documentation, demo code and a test harness so you can integrate AltFileSearch quickly and painlessly. |