?? sorry what have I done. [Confused]

Someone answer me this simple thing.

Why can't I find the UBound of the following array.

code:
$FSO = CreateObject("Scripting.FileSystemObject").GetFolder($FolderRoot).Files

$ProgressBar.Maximum = Ubound($FSO) + 1

I can list each object within the $FSO, but it looks like it is not a true array.

??? any ideas

[ 01. September 2003, 02:22: Message edited by: Richard Farthing ]