Re: FileListBox
From: Martin Walke (martin.walke_at_spamvega.co.uk)
Date: 11/08/04
- Next message: Ian: "ListView Control row select problem"
- Previous message: Peter: "Registry Permissions"
- In reply to: David: "FileListBox"
- Next in thread: Martin Nemzow: "Re: FileListBox"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Nov 2004 11:17:07 -0000
Oops - sorry don't need the brackets in the last Dir
FName = Dir
"David" <drs58@msn.com> wrote in message
news:c5e774e3.0411071048.ab218f4@posting.google.com...
> I'm trying to change the names of files in a particular directory.
> After specifying the directory, the user specifies a search string to
> find in the filenames along with the string to replace it with. Based
> on this, I want to cycle through a FileListBox, looking at each
> filename, changing the name of those files that are found to contain
> the search string. (I'm using the FileListBox since I can't locate a
> function that returns a collection of filenames from a directory.)
>
> I'm having a problem figuring out how to cycle through the file list.
> FileListBox. The following generates an 'Improper property array
> index' error:
>
> filFileList.ListIndex = i (i is a couter incremented within a for/next
> loop)
>
> Thanks,
> David
- Next message: Ian: "ListView Control row select problem"
- Previous message: Peter: "Registry Permissions"
- In reply to: David: "FileListBox"
- Next in thread: Martin Nemzow: "Re: FileListBox"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|