whoa. you're awesome.
i don't get the -1 part though.
i remember having to use that for my listbox. why does dir.GetFiles().Length generate one more than what's really there? weird.

but it works great. thanks!