Click to See Complete Forum and Search --> : How to empty the recycle bin
Hardeep Singh
April 12th, 1999, 05:10 AM
How do I empty the recycle bin from my program? I know the class ID of the recycle bin cleaner (I got it from the registry). So even if someone can tell me how to use it to do the job, It'll be great!
Thanks
LALeonard
April 12th, 1999, 02:39 PM
::SHEmptyRecycleBin( )
LA Leonard - Definitive Solutions, Inc.
Hardeep Singh
April 13th, 1999, 05:44 AM
Hi Leonard. Thanks for replying. I just checked out MSDN's help on the topic at about the same time as I read your message, and it said I needed win98 or 95 with IE 4.0. Even though I have IE 4.0 on my system, I have VC++ 5.0, and so I can't compile this line. I need the version of shellapi.h and shell32.lib that came with VC++ 6.0. How big are these files? can you tell me where I can download them, or can you mail them to me if they're not too big?
Jason Teagle
April 13th, 1999, 08:06 AM
ShEmptyRecycleBin() isn't available in VC++ 4.X - is there another way to do this using the PIDL returned from ShGetSpecialFolderLocation()?
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.