FAQ.Why does folderitem.item return nil?Answer:
Because Xojo fails to make a folderitem for you. Reason may be an alias file which can't be resolved or simply that you don't have enough access rights to read the folder content. Notes:
A more rarely reason is that the directory changed and the file with the given index or name does no longer exist.