Re: Feedback on recursive file search...

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Klaus H. Probst (usenet001_at_simulplex.net)
Date: 11/19/04


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..
>
>


Relevant Pages

  • Re: Feedback on recursive file search...
    ... The class does not provide for that - you'll have to drill down manually ... into each subfolder. ... Klaus H. Probst, MVP ...
    (microsoft.public.vb.general.discussion)
  • Re: Nautilus behavior
    ... On Wed, 2004-12-01 at 00:26 -0600, Grant Limberg wrote: ... > you go into a subfolder, ... Then drill down to /apps/nautilus/preferences and check ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)