> > Bonjour Stefan
> > The code you send returns an error in line:
> > ? oItem.Name, oItem.isFolder, oItem.isFileSystem
> > I try separatly the three but its the same error .
> > Can you verify the proprieties of oItem (name,isFolder,isFilesystem) ?
> > regards
>
> Salut Yousfi -
>
> There is no "defensive programming" in the example I posted, as it probably would be in real code...
> However, I do not get the errors you described testing in Vfp9 on Vista (english) and in Vfp9,8,7 in WinXP (german).
> I tried with an empty recycle bin as well as one containing a file, a folder, a desktop shortcut and a zip file.
> Looking forward to further feedback from you.
>
>
> Regards
> -Stefan
Stefan you are right.
Indeed
set step on
which the fate debugger and interrupts the program made me believe in a return error.I cut it and all is ok. Sorry !
Yousfi Benameur