|
-
April 12th, 1999, 05:10 AM
#1
How to empty the recycle bin
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
-
April 12th, 1999, 02:39 PM
#2
Re: How to empty the recycle bin
::SHEmptyRecycleBin( )
LA Leonard - Definitive Solutions, Inc.
-
April 13th, 1999, 05:44 AM
#3
Re: How to empty the recycle bin
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?
-
April 13th, 1999, 08:06 AM
#4
Re: How to empty the recycle bin
ShEmptyRecycleBin() isn't available in VC++ 4.X - is there another way to do this using the PIDL returned from ShGetSpecialFolderLocation()?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|