- You should use this control if your
application needs to search for files with undefinied path.
-Properties
NumberOfFilesFound
-(Long)- returns the number of found files during the search
-Functions
PathExist (ByVal Path As
String)
-(Boolean)- returns True if the specified path exist
elsewere returns False
-Methods
StartSearch (StartPath
As String, IncludeSubDirectories As Boolean)
-Starts the search within then selected directory, with included or not included subdirectories
StopSearch
-Cancels
the current search
-Events
FileFound (File As String, path As String)
-Occurs
when a file is found during the search, delivers name of file and path
SearchComplete
(NumberOfFilesFound As Long, NumberOfDirssearched As Long)
-Occurs at the
end of the search, but not when stoped with a StopSearch method, delivers number of files
found and number of dirs searched.
ProgressValueChanged (NewProgressValue As Integer)
-A
ProgressBar capability is also included. A NewProgressValue is an integer between 0 and 10000 indicating the progress of search.
-When a progressvalue changes this event will occur, delivers new
progress value.
PathChanged (NewPath As String)
-This
Event occurs when search switches to another directory, delivers a name of new
directory