Once you enumerate the root folder, you can then use a for/each loop
on the Files property to find the file. Just load a FileInfo object
with each file and then look at the Name property there to look for
the file you are looking for.
>
Once you enumerate the root folder, you can then use a for/each loop
on the Files property to find the file. Just load a FileInfo object
with each file and then look at the Name property there to look for
the file you are looking for.
>
If you are using VB 2005 then in the namespace
Microsoft.Visua lBasic.FileIO.F ileSystem there is a GetFiles function which
can search for files with wildcards and will do the recursive thing by using
a parameter in the function call.
Comment