Home  |   French  |   About  |   Search  | mvps.org  

What's New
Table Of Contents
Credits
Netiquette
10 Commandments 
Bugs
Tables
Queries
Forms
Reports
Modules
APIs
Strings
Date/Time
General
Downloads
Resources
Search
Feedback
mvps.org

In Memoriam

Terms of Use


VB Petition

Modules: File Search and Properties Object

Author(s)
Dev Ashish

INFORMATION PROVIDED IN THIS DOCUMENT AND THE FILESYSTEMEX OBJECT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED. THE USER ASSUMES THE ENTIRE RISK OF RUNNING THIS SOFTWARE.

Ó Dev Ashish and Terry Kreft (1998-1999), All Rights Reserved

The File Search and Properties Object (FileSystemEx) is an enhancement to Microsoft Office's FileSearch object.  It allows you to recursively search for a file on the hard drive and retrieve additional information (like Attributes, Size, Time Last Accessed, Time Created etc.) for specific files, or for all the files returned by the search.  Additionally, for dlls and ocxs, the object can retrieve the entries in the file's export table, making it available to you via the ExportItems collection.

Please make sure you read the code distribution guidelines

FileSystemEx.zip (Build 2.01.0043)
  See Screenshot 1
See Screenshot 2

History

Date Version Comment
Feb. 4, 2000 2.01.0043 No changes to Beta version, Beta period end.
 

Zip Contents

  • Build folder:  Contains the actual COM dll which you need to register on your system using RegSvr32 and redistribute as needed.
  • Release folder:  Contains a copy of the dll which is used to maintain Binary Compatibility for future builds. Do not use/modify anything in this folder.
  • Src folder:  Contains VB6 Source code for the dll.
  • Test folder: Contains a VB6 test application (with source) and an Access 97 database to demonstrate the functionality of the object.

Dependencies

Known Issues

  1. If you decide to create a sink for the object in an Access 97 class (including code classes behind forms) by using the WithEvents keyword, the event stub for the Found event may contain an extra underscore before the reference to the File object. For example
Private Sub mclsFO_Found(ByVal FileInfo As FileSystemEx._File)
End Sub

To correct this problem, wrap the File reference with square brackets, eg;

Private Sub mclsFO_Found(ByVal FileInfo As FileSystemEx.[_File])
End Sub
  1. A search can only be cancelled if you create a sink for the object by using the WithEvents keyword. Then the SearchStatus can be used to pass True for the Cancel argument to cancel the search.
  2. Folder and Folders collection is included  in the project for future enhancements.

© 1998-2010, Dev Ashish & Arvin Meyer, All rights reserved. Optimized for Microsoft Internet Explorer