if file<> nil then
    t=file.OpenAsTextFile

If a folderItem is not nil that doesn't mean that the corresponding file exists. You should better check for file.exists or if your TextInputStream is nil.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to