Re: Feedback on recursive file search...
From: Klaus H. Probst (usenet001_at_simulplex.net)
Date: 11/19/04
- Next message: Bruno Köller: "Re: limitating clipboard data"
- Previous message: Randy Birch: "Re: Internet Explorer Security Settings Refresh"
- In reply to: Nina Harris: "Re: Feedback on recursive file search..."
- Next in thread: Ken Halter: "Re: Feedback on recursive file search..."
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 18 Nov 2004 22:40:38 -0700
The class does not provide for that - you'll have to drill down manually
into each subfolder.
If you know a bit of C#, you can look at this class:
http://www.vbbox.com/dotnet/?duid=69E1A00D081E475F9A534843A6E091E1
which does have a "Drill" method. The VB class doesn't because creating lots
of class instances in VB is a bit more problematic than in a .NET
application, but you should be able to do it since both work essentially the
same way. And the C# one does maintain the mask after you drill down, unless
you specify another one.
-- Klaus H. Probst, MVP http://www.vbbox.com/ "Nina Harris" <sas@mailinator.com> wrote in message news:3015kcF2qnvljU1@uni-berlin.de... > Klaus H. Probst wrote: > > Why reinvent the wheel =) > > > > > <http://www.vbbox.com/vb/codebox/Utility/?duid=8433FB7219B24059A03B115401696 > > 66D> > > how might you suggest using this with a target value for start folder and > search all subfolders for the same mask > > ie. > If (hFind.FindFirst(\\Server1\Share1\, "*.txt") = True) Then > > Do > ' search all files and subfolders here.. > >
- Next message: Bruno Köller: "Re: limitating clipboard data"
- Previous message: Randy Birch: "Re: Internet Explorer Security Settings Refresh"
- In reply to: Nina Harris: "Re: Feedback on recursive file search..."
- Next in thread: Ken Halter: "Re: Feedback on recursive file search..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|