I'm going to take a SWAG and say that this line is the source of his problems:
Dim fileNames(files.Length - 1) As String
The "-1" seems like the problem to me. I would presume that he wants files
and fileNames to be the same length.
...Glenn
On Tue, Nov 11, 2008 at 12:50 PM, CK <[EMAIL PROTECTED]> wrote:
>
> which line are you getting the error on?
>
