Jianming Lin (ASL) wrote on Tuesday, 12 November 2002 9:29 a.m.: > Another suggestion is : > > 1) get Recycle bin directory : > SHGetSpecialFolderLocation > 2) call Win32 API function: MoveFileEx > set MOVEFILE_COPY_ALLOWED
I don't think this is a good idea. ShFileOperation is the correct way to delete a file to the recycle bin. - Paul --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/