RE: How can I search for files?
From: Patty O'Dors (PattyODors_at_discussions.microsoft.com)
Date: 09/04/04
- Next message: Don_at_home.com: "Re: How can I search for files?"
- Previous message: Larry Serflaten: "Re: Scraping a page in VB6"
- In reply to: Ed Landau: "How can I search for files?"
- Next in thread: Don_at_home.com: "Re: How can I search for files?"
- Reply: Don_at_home.com: "Re: How can I search for files?"
- Reply: Ed Landau: "Re: How can I search for files?"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 4 Sep 2004 04:09:02 -0700
The quick way you can do it without writing an algorithm is to shell a
process that writes the data to a text file, but this is the only way you can
get the information.
e.g.
shell environ("comspec") & " dir ""c:\*.txt"" /b /s >thetextfiles.dat"
> Using VB6, I'd like to do something like VBA's Application.fileSearch.
> I'd like to say: Return a list of all files matching "*.xxx" and recursively
> go thru all sub-directories. The FileListBox does not recursively go down
> directories.
> Any help would be appreciated.
>
> The only way I can think is to have a hidden dirListBox and step thru it but
> popping back up may be tricky.
> Thanks
> -Ed
>
>
>
- Next message: Don_at_home.com: "Re: How can I search for files?"
- Previous message: Larry Serflaten: "Re: Scraping a page in VB6"
- In reply to: Ed Landau: "How can I search for files?"
- Next in thread: Don_at_home.com: "Re: How can I search for files?"
- Reply: Don_at_home.com: "Re: How can I search for files?"
- Reply: Ed Landau: "Re: How can I search for files?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|