SearchWildCard Property

Object: Folder
Syntax: SearchWildCard
Type: String
Read/Write: Read/Write
Description: This property sets the wildcard search pattern for the .Subfolders or .Files collections. This property uses the standard Microsoft wildcard patterns, such as *.*, *.txt, h*.*, etc.
Example: The following code will list all files in the C:\WinNT that have a bmp extension.
dim oFM dim oFolder dim oFile Set oFM = CreateObject("SoftArtisans.FileManager")
      Set oFolder = oFM.GetFolder("C:\WinNT") oFolder.SearchWildCard = "*.bmp" For Each
      oFile in oFolder.Files Response.Write oFile.Name & "<br>" Next 

Copyright © 2010 SoftArtisans, Inc. All rights reserved.